Blasts come at the beginning of a Muslim religious holiday and just hours after the prime minister warned of Iraq's continued danger

Below:

Next story in Conflict in Iraq

An Iraqi police officer uses a bomb detector to search a woman outside the 14th Ramadan mosque, seen in the background, on the first day of Eid al-Adha in Baghdad, Iraq, Sunday, Nov. 6. Eid al-Adha, or the Feast of the Sacrifice, is celebrated to commemorate the prophet Ibrahim's faith in being willing to sacrifice his son.

BAGHDAD — Three bombs ripped through a sprawling Baghdad market Sunday, killing eight people at the beginning of a Muslim religious holiday and just hours after the prime minister warned of Iraq's continued danger.

Police said the bombs were planted in different parts of the Shorja market in downtown Baghdad, striking as shoppers were preparing for this week's Eid al-Adha feast. City health officials confirmed the death toll released by the police and said 19 people were also injured.

A thick black plume of smoke from the bombs hovered over the Tigris River and could be seen against Baghdad's skyline. All officials spoke on condition of anonymity because they were not authorized to release the information.

Hours earlier, Prime Minister Nouri al-Maliki urged his security forces to step up their vigilance against violence. Al-Maliki said continued threats show that insurgents still want to prevent Iraq from becoming a stable nation.

"You have done much for Iraq, but Iraq remains in the circle of danger," al-Maliki told security officials with whom he met at the start of the holiday. "It needs more attention and care to confront those who want to damage security, who are plotting to turn this Eid, the Eid of happiness to Iraqis, into the Eid of blood."

Iraqi Shiites mark the beginning of the Eid on Monday, while Sunnis do so on Sunday.

Over the last several weeks, al-Maliki's government has detained 615 people who al-Maliki says are members of the Baath Party, which was driven from power in the 2003 U.S.-led invasion.

Sunnis have accused al-Maliki, who is Shiite, of cracking down on Baathists as an excuse to exert political pressure on them.

Meanwhile, a roadside bomb hit a security patrol in the northern city of Mosul, killing an Iraqi soldier, police said. Mosul is 225 miles (360 kilometers) northwest of Baghdad.

Violence across Iraq has dropped dramatically, but deadly attacks still happen nearly every day as the U.S. moves to withdraw all of its 33,000 troops from Iraq by the end of the year.

Copyright 2011 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.