The top U.S. military commander in the Middle East said Tuesday that officials will probably need some time this summer to reassess the situation in Iraq before drawing down more troops.

Adm. William Fallon said he expects Gen. David Petraeus will suggest to him that come midyear, "it's prudent to make an assessment of where we are."

Fallon said Petraeus, who oversees combat in Iraq, has the daunting task of making sure Iraqi security forces are ready to take over. The goal will be to try not to lose the momentum U.S. forces have gained, he said.

"We'll take actions based on the conditions that we find," Fallon told the Senate Armed Services Committee. "And if conditions change, I expect there will be a reconsideration."

By July, the Pentagon is on track to complete its reduction from 20 to 15 active-duty brigades deployed to Iraq.

Petraeus, who is slated to testify before Congress on April 8-9, has said he favors a "period of assessment" after that so as not to lose the security gains made in recent months. Petraeus is expected to ask President Bush to wait until as late as September to decide whether to bring home more troops.

Fallon cautioned that much of the timelines discussion is speculation.

"I think nothing is written in stone," he said.

During the hearing, several senior lawmakers said they were deeply disappointed that Baghdad opened its doors this week to Iranian President Mahmoud Ahmadinejad. Washington blames Iran for allowing the flow of weapons and foreign fighters into Iraq through its borders, including powerful roadside bombs that have killed countless U.S. troops.

"I think it's offensive," said Sen. Carl Levin, D-Mich., chairman of the Armed Services Committee. "They've got every right to invite whomever they want. They're sovereign. But we have a right to express an opinion about it."

Ahmadinejad, the first Iranian leader to visit Iraq since Iran's 1979 Islamic Revolution, said U.S. power is crippling the region.

Fallon called Ahmadinejad's visit a "mixed bag" because it presented an opportunity for Baghdad to push the Islamic leader to stop the flow of weapons and start working with coalition forces.

"From our perspective, we are not going to help resolve the problems inside that country without assistance from outside," he said.

Meanwhile, the former No. 2 U.S. military commander in Iraq, Lt. Gen Ray Odierno, said Tuesday that Iran is still training, funding and providing weapons to insurgents in Iraq.

Odierno said Iran must be more helpful to its neighbor, and stop supporting surrogate militias that are destabilizing Iraq. In addition, he said it's not surprising that there were fewer attacks during Iranian President Mahmoud Ahmadinejad's recent two-day visit to Baghdad.

"We have no doubt they are still supporting insurgents," Odierno said. Asked if that was the greatest threat to stability in Iraq, he said, "If you ask me what I worry about most, I do worry about that as a long-term threat. And I think we have to, you know, constantly watch it."

Fallon said there has been a dramatic decrease of violence in Iraq, but warned that such gains are not irreversible, adding, "I see this on an upward vector."

Still, he noted in his prepared remarks that "multiple strains of violent extremism remain a threat to the government and populace and some of these groups benefit from external support," namely Iran and Syria.

In his testimony, Fallon blames Iran and Syria for fanning the flames of global terrorism. He said Tehran is providing training, money and weapons to both Shiite militia groups in Iraq, as well as Hezbollah and Hamas, which the U.S. government regards as terrorist organizations.

Syria, he said, continues to meddle in Lebanon and support Hezbollah, while allowing the flow of suicide bombers and foreign fighters into Iraq through its borders.