Blast in popular Baghdad coffee shop kills at least 27
April 19, 2013 -- Updated 1407 GMT (2207 HKT)
Mourners give their condolences to family members of the victims who were killed in the explosion in Al- Amirya.
- NEW: Four of at least 27 people killed are children, police say
- NEW: The building targeted in western Baghdad had an ice cream shop and medical offices
- A bomb was hidden in a plastic bag and detonated around 10 p.m. local time
- There have been several attacks ahead of Saturday's provincial elections
Baghdad (CNN) -- A bomb exploded on Thursday night in a popular coffee shop in western Baghdad, killing at least 27 people and wounding 51 others, city police officials said.
The bomb was hidden in a plastic bag and then put in a cafe in the Iraqi capital's al-Amriya neighborhood, where it detonated around 10 p.m. (3 p.m. ET), according to police.
They estimated the device contained about two kilograms of highly explosive material.
The explosion ripped through the three-story building, which also includes an ice cream parlor on the first floor and medical offices on the second floor. The coffee shop was on the third floor.
Deadly wave of bombings across Iraq
Most of those killed and hurt were young men, though four children were among the dead, police said.
Mostly Sunni Muslims live in the neighborhood, which is surrounded by walls except for one checkpoint staffed by Iraqi soldiers.
The violence follows a spate of attacks preceding the country's provincial elections, set for Saturday.
On Wednesday, three people died and 16 were wounded in four explosions in and around Baghdad, according to police.
There is concern that the security situation could affect the outcome of the vote, especially if Iraqis don't participate because of fears that polling stations may come under attack.
U.N. official Martin Kobler appealed Thursday for security forces to be on "heightened alert" so that citizens can vote "in a safe environment without fear of violence."
In the same statement, Kobler -- the special representative in Iraq for the U.N. secretary-general -- stressed that Iraqi leaders must "collectively endure a transparent and peaceful election, free of intimidation or political interference."
And he urged Iraqis to vote, casting it as their patriotic duty.
"I am calling on all women and men to cast their ballots for a better future for them and their children," Kobler said. "My appeal goes particularly to young Iraqis, because you are the future of this country."
CNN's Mohammed Tawfeeq reported from Baghdad and Greg Botelho wrote this story from Atlanta.
Today's five most popular stories
Part of complete coverage on
November 20, 2014 -- Updated 2357 GMT (0757 HKT)
China and likely other countries have the capacity to shut down the U.S. power grid, says the NSA.
November 21, 2014 -- Updated 0121 GMT (0921 HKT)
If it wasn't for a comic's skit, Bill Cosby would still be America's favorite father, says expert.
November 21, 2014 -- Updated 1550 GMT (2350 HKT)
Obama orders the most sweeping overhaul of U.S. immigration in decades, prioritizing the deportation of "felons, not families."
November 18, 2014 -- Updated 2106 GMT (0506 HKT)
Fighters loyal to ISIS are now in control of Derna, a city on Libya's Mediterranean coast.
November 19, 2014 -- Updated 1945 GMT (0345 HKT)
The founder of a U.S. nonprofit that works with returning soldiers is named CNN's Hero of the Year.
November 17, 2014 -- Updated 1324 GMT (2124 HKT)
It's a very big challenge but NASA chief scientist Ellen Stofan thinks it can be done.
November 17, 2014 -- Updated 0039 GMT (0839 HKT)
CNN's Atika Shubert explains how the most recent ISIS video differs from the other previous hostage execution videos.
November 17, 2014 -- Updated 1738 GMT (0138 HKT)
A Syrian cleric condemns ISIS and its execution of U.S. hostage Peter Kassig.
November 16, 2014 -- Updated 1720 GMT (0120 HKT)
Volunteer fighters in eastern Ukraine dig down just 800 meters from the front line.
November 18, 2014 -- Updated 1729 GMT (0129 HKT)
TV anchor wears the same suit for a year. Female colleague wears new outfit daily. Who gets criticized?
November 21, 2014 -- Updated 1204 GMT (2004 HKT)
Each day, CNN brings you an image capturing a moment to remember, defining the present in our changing world.
Browse through images from CNN teams around the world that you don't always see on news reports.