State claimed the attack in an online statement.

Some people were also in the tent to mourn the death of a local resident, authorities said. The tent was set up in a crowded market in the city’s northern al-Shaab district.

Gunmen believed to belong to Islamic State, a Sunni group, earlier in the day staged two attacks north of Baghdad, one targeting a police check-point and the other the house of a Sunni militia chief who supports the government, police sources said.

Slideshow ( 9 images )

Eight policemen were killed and 11 others wounded in the first attack which took place Mutaibija, south of the city of the city of Tikrit, while the militants had three dead in their ranks.

In the second, the wife and three children of Numan al-Mujamaie, theleader of the Ishaqi Mobilization militia, were killed when gunmen stormed his house in the town of Ishaq in his absence.

The assailants fled, chased by security forces, and later killed themselves by detonating explosive belts, police said.

Islamic State has intensified bomb attacks in government-held areas this year as it loses territory to U.S.-backed Iraqi government forces and Iranian-backed Shi’ite militias.

The group claimed a truck bombing in July that killed at least 324 people in the Karrada shopping area of Baghdad - the deadliest single attack in Iraq since the U.S.-led invasion that toppled Saddam Hussein in 2003.