An assault on a police headquarters in a disputed city in north Iraq involving a car bomb set off by a suicide attacker followed by gunmen trying to storm the compound killed 30 people on Sunday.
The vehicle that was detonated in central Kirkuk was painted to appear as though it was a police car, and the militants who sought to seize the compound were dressed as policemen, witnesses said.
The attack shattered a relative calm in recent days in Iraq, which has been grappling with a political crisis pitting Prime Minister Nuri al-Maliki against his erstwhile government partners amid weeks of ongoing protests calling for him to resign, less than three months before key provincial elections.
No group immediately claimed responsibility for the attack, but Sunni militants including al-Qaeda's front group in Iraq frequently target security forces and government targets in a bid to destabilise the country and push it back towards the sectarian bloodshed that blighted it from 2005 to 2008.
The initial suicide car bomb was set off during morning rush hour, and was quickly followed by three gunmen dressed in police uniforms, armed with hand grenades and suicide vests, bursting through the main gate of the Kirkuk police compound in the direction of the headquarters building.
They threw multiple grenades as they sought to reach the building, but were killed before they could get there, witnesses said.
Brigadier General Natah Mohammed Sabr, the head of Kirkuk city's emergency services department, put the toll at 30 dead and 70 wounded.
In addition to the casualties, the attack caused massive damage to nearby buildings and shops, according to an AFP journalist at the scene.
Police largely cut off traffic in the centre of the city and evacuated offices and businesses in the area. They managed to defuse one of the attackers' suicide vests, but were still seeking to disarm the other two.
Kirkuk, an ethnically mixed city 240 kilometres (150 miles) north of Baghdad, lies at the heart of a swathe of disputed territory claimed by both the central government and Iraq's autonomous northern Kurdish region.
The unresolved row is persistently cited by diplomats and officials as the biggest threat to Iraq's long-term stability.
Militants often exploit a lack of coordination between the two sides' security forces and launch deadly attacks in the city, which remains one of the most violent in Iraq, and also in nearby towns.
The violence was the latest in a spike in unrest that comes amid the political tension -- 246 people were killed last month, the most since September, according to an AFP tally based on reports from security and medical officials.
Attacks are dramatically lower across Iraq since their peak in 2006 and 2007, but bombings and shootings remain common.