A truck bomb exploded near a Shiite mosque in northern Iraq following prayers, killing at least 55 people and wounding nearly 200 others, police said.

The blast came hours after Prime Minister Nouri al-Maliki called the withdrawal of U.S. troops from cities by the end of this month a "great victory" and promised it would go ahead as scheduled. Officials have warned that insurgents are likely to stage more attacks in the wake of the withdrawal to try to undermine confidence in the government's ability to protect its people.

Worshippers were leaving the mosque in Taza, 10 miles south of Kirkuk, following noon prayers when the truck exploded, according to police Brig. Gen. Sarhat Qader, who gave the casualty toll.

He said the mosque and at least eight nearby houses were demolished and residents were working with rescue teams to search for people buried under the rubble.

Women begged police to let them near the site so they could search for loved ones while ambulances rushed victims to the overwhelmed hospital in Kirkuk. Three babies cried as they were placed on a single hospital bed to be treated.

Yellman Zain-Abideen, who was wounded by shrapnel in his hand and face, cried for his missing son.

"He was only 10 feet away from me where we were leaving the mosque. I don't know what happened to him," the 43-year-old said, blaming local authorities for not providing sufficient security. "There should have been guards around the mosque, we are living in an area surrounded by enemies."

Tensions have risen in the oil-rich area of Kirkuk as Kurds seek to incorporate it into their semiautonomous region despite opposition from Arabs, Turkomen and other rival ethnic groups. That has raised concerns about an outbreak of ethnic violence in northern Iraq even as attacks elsewhere decline.

Taza is mostly Turkomen.

U.S. and Iraqi officials have warned they expect insurgents to stage attacks to try to provoke a new outbreak of sectarian violence.

A U.S.-Iraqi security pact requires the Americans to pull back combat troops from cities by the end of this month as a first step toward a full withdrawal by 2012. The deal includes a provision for the Iraqi government to ask for U.S. help if violence surges.

Al-Maliki insisted earlier Saturday that the withdrawal will take place on schedule. He acknowledged that more attacks were likely but said Iraqi security forces were prepared.

Any extension would show a lack of confidence and would be a "historic setback," he said during a speech to members of the Turkomen ethnic minority.

"We will not retreat no matter what happens and, God willing, nothing will happen because of the capabilities that our security forces have," he said.

The Interior Ministry, meanwhile, warned it has received intelligence that some militants will try to stage attacks after the June 30 deadline.

Ministry spokesman Maj. Gen. Abdul-Karim Khalaf, however, said the U.S. withdrawal will give the Iraqis more power to deal with the violence because they won't be limited by the need to coordinate with the Americans.

"That will provide a more flexible opportunity for Iraqis to reach their targets quickly," he said.