Militants launched a brazen attack on a military base in a restive area in northern Iraq on Thursday, killing at least 10 soldiers and wounding 12, officials said.
The morning attack at the base outside the city of Mosul, about 360 kilometres (225 miles) northwest of Baghdad, started with a suicide bomber who detonated his truck packed with explosives at the gates of the facility, an army officer and a police officer said.
A group of gunmen then opened fire from apparently commandeered military Humvees and a shootout ensued. At least 10 troops were killed and 12 were wounded, the officials said. Eight militants were also killed in the fighting.
A medical official confirmed the casualty figures. All officials spoke on condition of anonymity because they are not authorized to talk to media.
In recent months, Mosul and the surrounding region have seen bold attacks by militants, mainly from an al-Qaida-splinter group known as the Islamic State of Iraq and the Levant, against military and security forces.
In the adjacent province of Anbar to the west, the Islamic State seized control in December of parts of the provincial capital, Ramadi, and the centre of the nearby city of Fallujah. Since then, Iraqi government security forces and allied Sunni tribal militias have been struggling to dislodge the militants.
In Baghdad, meanwhile, a car bomb exploded on a busy commercial street in the Karrada neighbourhood, killing at least nine people and wounding 22 others, police said. Hospital officials confirmed the casualty figures.
There were no immediate claims of responsibility for Thursday's attacks, but large-scale well-co-ordinated assaults like the one outside Mosul are a hallmark of the Islamic State. Sunni insurgent groups have stepped up attacks across the country since last year in a bid to undermine the Shiite-led government.
Violence has escalated in Iraq over the past year, killing more than 8,800 people. That death toll made 2013 the bloodiest year in Iraq since the country teetered on the brink on civil war in 2007.
The escalation in violence comes as Iraqis prepare to hold parliamentary elections on April 30, the first such vote since U.S. forces left Iraq in 2011.
Authorities recently said there would be no balloting in parts of Anbar province where clashes are underway and which are not deemed safe.