Iraqi police kept watch over the protest but did not enter the main square. Iraqi and American armoured cars were on standby a short distance away.
Abdel Wahab Al-Qassab from the Strategic Studies Centre in Doha, Qatar, which researches political and military strategies, said that Iraqi public opinion is overwhelmingly in favour of US forces leaving the country.
"The US has said verbally that it will end the occupation but we do not know what the real ambition of the invaders is. They could yet say there is no stability in the country and extend their presence there.
"The US has already said that 50,000 troops will remain in Iraq for what they say is training Iraqi troops. But I think that every Iraqi wants US troops out of the country because what has occurred is the shattering of the Iraqi society."
The Shia community in Baghdad has been hit by a series of bomb attacks in recent weeks, fuelling fears that Iraqi soldiers could face an uphill struggle in keeping the capital secure when US forces leave Iraq.
At least seven people were killed and 23 injured when a bomb planted in a plastic bag exploded close to the site of a Shia mosque in Baghdad’s Kadhimiyah district on Wednesday.
Nine people had been killed the day before in a car bomb blast in the same neighbourhood.
At least 37 people were killed and more than 100 hurt in a string of attacks across the city on Monday.