BAGHDAD — Two suspected Shiite militia leaders surrendered Friday during raids by U.S. forces, while tens of thousands of Shiite faithful streamed out of mosques to join protests against a security agreement with the United States.

Such rallies have erupted weekly following a call by anti-American cleric Muqtada al-Sadr, who opposes the deal, which could lead to a long-term U.S. troop presence in Iraq.

The arrests and demonstrations came on the eve of Prime Minister Nouri al-Maliki's trip to Iran, the second such visit in a year. A U.S. campaign against Shiite militiamen and the U.S.-Iraq security pact would likely be on the agenda for his talks there.

One of the men who surrendered early Friday is suspected of ordering attacks on U.S. troops, directing the kidnapping of Iraqis and smuggling Iranian weapons and Katyusha rockets into Iraq, according to a statement from the U.S. military. The other suspect tried to flee by wading through an irrigation canal, before turning himself over to U.S. soldiers.

The U.S. said the men were members of Iranian-backed "special groups" — language the American military uses to describe Shiite fighters defying al-Sadr's cease-fire order.

Some of the men are believed to have fled recent fighting in the Shiite militia stronghold of Sadr City, but others have been based for years in swaths of overwhelmingly Shiite territory south of the Iraqi capital. The area is home to several of Shiite Islam's holiest shrines.

Such arrests have become an almost daily occurrence in Iraq, where U.S. forces are seeking to thwart the movement of Iranian weapons into Iraq. Washington accuses Iran of arming and training Shiite militiamen, but Tehran denies that.

Al-Maliki was due in Iran on Saturday, as protests grew more amplified in Iraq against a proposed security agreement with America.

The deal, which the Iraqis and Americans hope to finish by midsummer, would establish a long-term security relationship between Iraq and the United States, and a parallel agreement would provide a legal basis to keep U.S. troops in Iraq after the U.N. mandate expires at the end of the year.

Supporters believe the deal would help assure Iraq's Arab neighbors, notably Saudi Arabia and the Gulf States, that Iraq's Shiite-led government would not become a satellite of Iran, the largest Shiite nation, as the American military role here fades.

But critics in Iraq worry the deal will lock in American military, economic and political domination of the country. Some Iraqi politicians have attacked the deal, especially those loyal to al-Sadr, whose militiamen fought U.S. and Iraqi troops in Sadr City for seven weeks this spring, until a truce in May.

The cleric himself is believed to be living in the Iranian city of Qom.

Al-Maliki's Dawa party has described talks over the U.S.-Iraqi security pact as stalled, with almost every provision under dispute. The party has also sought to calm worries by insisting that the deal would not allow foreign troops to use Iraq as a ground to invade another country — a reference to Iranian fears of a U.S. attack.

At a mosque in Tehran on Saturday, prayer leader Ayatollah Ahmad Jannati told worshippers the U.S.-Iraq agreement would surely fail.

"The Iraqi nation will not accept it ... If it is signed, it will separate the Iraqi government from its people," Jannati said.

But in Iraq's Shiite holy city of Najaf, cleric Sadralddin al-Qubanji said the agreement could be acceptable, but only if included a date for the withdrawal of U.S. troops from Iraq.

"This agreement is not blasphemy ... If it guarantees the withdraw of the occupation, we are with it, but if it gives the occupation deeper roots, we reject it," he told worshippers.

At another mosque in nearby Kufa, thousands of faithful filing out of Friday prayers erupted into an impromptu demonstration, chanting "No, America, no! Iraq will not be an American colony!"

Thousands more filed out of mosques in Sadr City, waving photos of al-Sadr and unfurling banners protesting the proposed pact. "As long as Muqtada opposes it, no agreement will be signed!" some chanted.

A preacher in Kut told his mosque: "This agreement achieves the interests and the plans of the occupier."

"It can never be applied as long as Muqtada and his followers are alive," Sheik Najim al-Khafaji said.

The challenge for al-Maliki, himself a Shiite, is to maintain ties with Iran while at the same time ensuring his support from the United States. He needs to persuade the Iranians to rein in Shiite extremists but also assure them that security ties to the U.S. would not threaten the Islamic Republic.

Also Friday, a suicide bomber that Iraqi police said they believed was a woman exploded herself near a checkpoint in a village outside Ramadi, wounding two policemen. Police said they were searching for another woman who fled the scene and may have been a second bomber.

Ramadi is the capital of Iraq's western Anbar province, which saw heavy fighting with al-Qaida-linked militants until Sunni Arab sheiks began partnering with U.S. forces there in 2006.

The U.S. military issued three additional statements Friday saying its soldiers killed four suspects and captured more than 57 others in raids earlier in the week in Baghdad and across northern Iraq.

———

Associated Press Writer Nasser Karimi contributed to this report from Tehran, Iran.