BAGHDAD (AP) -- Militants attacked an outdoor market on Sunday in eastern Baghdad, killing at least 24 people and wounding dozens, officials said.
A bomb ripped through the crowded Mredi market in the Shiite district of Sadr City, a police officer said. Minutes later, a suicide bomber blew himself up amid the crowd that had gathered at the site of the first bombing, he added.
He said at least 52 other people were wounded.
The attack was the deadliest in a wave of recent explosions that have targeted commercial areas in and outside Baghdad.
In the town of Mahmoudiya, about 30 kilometers (20 miles) south of Baghdad, three shoppers were killed and 10 wounded in a bomb explosion, another police officer said. Four others were killed in a separate bomb attack in Baghdad's southern Dora neighborhood, he added.
No one immediately claimed responsibility for the attacks, though they bore the hallmarks of the Islamic State group, which controls key areas in northern and western Iraq and targets government forces, civilians and especially Shiites.
The attacks came hours after security forces repelled an attack by IS militants on the capital's western suburb of Abu Ghraib, officials said.
Three suicide car bombers struck a security force barracks as gunmen opened fire, according to two police officers. At least 12 members of government and paramilitary security forces were killed and 35 wounded, they added. The clashes left a silo on fire, they said.
The commander of military operations in western Baghdad, Maj. Gen Saad Harbiya, said the situation is "under control" and a local curfew has been imposed.
Medical official confirmed the casualty figures. All officials spoke on condition of anonymity as they were not authorized to release information.
Abu Ghraib, about 18 miles (29 kilometers) from downtown Baghdad, is the location of a prison of the same name where U.S. troops committed notorious abuses against Iraqi detainees following the 2003 invasion. Citing the unstable security situation in the surrounding area, Iraqi authorities closed the prison in April 2014.
It is halfway between Baghdad and Fallujah, which is controlled by the IS group. Security forces prevented IS from seizing Abu Ghraib when the extremists swept across northern and western Iraq in the summer of 2014.