WASHINGTON - The US House of Representatives has defeated a proposal to prevent the Obama administration from waiving certain restrictions on aid to Pakistan deemed to be in the national security interest, while underscoring the importance of cooperation with the South Asian country.

Republican Congressman Ted Poe's amendment to the $578 billion annual defence appropriations bill to block funds for Pakistan if it violates any conditions for aid failed as the move garnered 114 votes, with 318 against, according to The Hill, a newspaper devoted to the coverage of Congress.

The bill contains a provision that no funds can be provided to Pakistan unless the State and Defence Departments certify it is cooperating with the US in counterterrorism efforts; not supporting terrorist activities against the US or coalition forces in Afghanistan; dismantling improvised explosive devices; preventing the proliferation of nuclear weapons; issuing visas in a "timely manner" for US visitors; and working with humanitarian organisations to assist Pakistani civilians.

However, the State and Defence Departments can waive the restrictions on a case-by-case basis if they establish to Congress that providing aid to Pakistan is nonetheless vital to national security.

Poe maintained that the Pakistan can't be trusted, offering the circumstances of the US raid that killed Osama bin Laden in 2011 as an example. "This amendment does one simple thing. It says you meet the conditions or you get no money from the United States," Poe said.

But Congressman Rodney Frelinghuysen, the Republican chairman of the House Appropriations subcommittee that authored the defence spending bill, said it would be counterproductive. "We need the cooperation of the Pakistanis. If we don't have any, we lose insight into the actions of those who would do our country harm," Frelinghuysen said.

The House also rejected amendments to rescind funding for the train-and-equip programs for Syrian rebels and Iraqi forces to fight the Islamic State.

Meanwhile, a Pakistan embassy spokesman welcomed the House move. "In the context of the ongoing deliberation on the defence bill", he said, "We are encouraged by consistent Congressional approval of the Pakistan-US cooperative relationship and various programmes that contribute to both countries achieving their shared objectives."

The spokesman added, "Pakistan and US have a mutual interest in defeating terror. Over the past many years, Pakistan has been undertaking military operations and law enforcement activities across the country to fight back against the terrorists that have plagued the peace and progress of our country. ”

In his remarks during the debate, Congressman Frelignhysen also said that Pakistan had lost 5000 soldiers in fighting TTP, an Al-Qaeda allied organisation.

He said continued deployment of the Pakistan Armed Forces in FATA was needed for the long-term stability of the area. Congressman Frelinghusen informed the House that nearly 28,000 militants had been killed or captured as a result of to Pakistan's anti-terrorist operations.