Afghan President Hamid Karzai has inked a security pact with Iran, setting the stage for long-term security, economic and political cooperation between Kabul and Tehran.

The Afghan-Iran deal represents a "long-term friendship and cooperation pact" with Iran that "will be for long-term political, security, economic and cultural cooperation, regional peace," according to Karzai's spokesman Aimal Faizi.

ADVERTISEMENT

The pact comes as the Karzai administration continues to stonewall White House and Pentagon efforts to lock in a postwar deal with Afghanistan.

The postwar plan, known inside the Pentagon as the bilateral security agreement (BSA), was "overwhelmingly approved" by an assembly of the Afghanistan's most powerful tribal leaders, called the Loya Jirga, earlier this month, according to Defense Secretary Chuck Hagel Charles (Chuck) Timothy HagelWhile our foes deploy hypersonic weapons, Washington debates about funding Hillicon Valley: Democrats request counterintelligence briefing | New pressure for election funding | Republicans urge retaliation against Chinese hackers National security leaders, advocacy groups urge Congress to send election funds to states MORE.

But a slew of last-minute demands by Karzai, including the release of all Afghan prisoners at the military prison in Guantanamo Bay and banning members of a U.S. postwar force from entering Afghan homes, has Obama considering a complete withdrawal from Afghanistan next year.

Iran has been a vocal opponent of a U.S-Afghan postwar pact since negotiations between Kabul and Washington began earlier this year.

On Tuesday, Iranian President Hassan Rouhani again blasted Afghanistan's pending deal with the United States.

“We are concerned about tension arising out of the presence of foreign forces in the region, believing that all foreign forces should get out of the region and the task of guaranteeing Afghan security should be entrusted to the country’s people,” Rouhani told Iranian state-run news agency IRNA.