Updated

A roadside bomb exploded near a police patrol Wednesday, killing at least seven officers in a Shiite area south of Baghdad that has seen fierce clashes between rival militia factions.

To the north, a suicide bomber driving an explosives-laden truck struck a checkpoint manned by Kurdish forces in a volatile province where U.S. commanders have decided to begin the drawdown of American forces, marking a turning point in the mission.

The attack in a mountainous area near the Iranian border killed at least one Kurdish soldier and wounded more than 10 others, said Jabbar Yawir, a spokesman for the Kurdish forces.

Yawir said the dead and wounded men were from a brigade that arrived last month as part of a U.S.-Iraqi security crackdown that began in February.

Several U.S. officials told The Associated Press that in December, the 3rd Brigade of the 1st Cavalry Division will not be replaced when it returns from Diyala to its home base at Fort Hood, Texas. Instead, soldiers from another brigade in Salahuddin province next door will expand into Diyala, thereby broadening its area of responsibility.

In this way, the number of U.S. Army ground combat brigades in Iraq will fall from 20 to 19, reflecting U.S. President George W. Bush's bid to begin reducing the military force and shifting its role from fighting the insurgency toward more support functions like training and advising Iraqi security forces.

Iraqi forces are frequently targeted by extremists on both sides of the sectarian divide trying to deal a blow to U.S.-led efforts to enable the national troops to take over security so American forces can go home.

Police officials in Diyala province, who spoke on condition of anonymity because they weren't authorized to release the information, said two Kurdish soldiers had been killed and 12 wounded in the 8:30 a.m. attack near Jalula, 130 kilometers (80 miles) northeast of Baghdad.

Nobody claimed responsibility for the attack against the Kurdish troops, but the suicide bombing bore the hallmarks of al-Qaida in Iraq, which has staged several attacks recently after promising an offensive to coincide with the Islamic holy month of Ramadan, which ended this week.

Wednesday's deadliest attack occurred before dawn just east of Diwaniyah, 130 kilometers (80 miles) south of Baghdad, when a three-vehicle police convoy was struck by a roadside bomb. Authorities said seven policemen, including the patrol leader, were killed.

The area around Diwaniyah has seen recent clashes among rival Shiite groups, along with violence against U.S.-led forces. Suspected militia fighters fired mortars at two military bases and shot at a Polish helicopter south of Baghdad on Monday, prompting a battle that killed five Iraqi civilians and wounded dozens, including two Polish soldiers.

Also Wednesday, the military said a U.S. soldier was killed Sunday by small-arms fire south of Baghdad.

U.S. commanders have said that the increase in troops ordered by Bush in January — and the increased operations that followed — have left al-Qaida fractured and pushed militants into remote parts of the north and south of the country. Additional operations have been going after those pockets of fighters.

Officials have cited a drop in suicide bombings from more than 60 in January to some 30 a month since July, along with a decrease in the flow of foreign fighters across the borders. But they acknowledge they have been unable to stop the car bombings and suicide attacks usually blamed on the group and said they still face a tough fight.

Iraqis have enjoyed periods of relative calm in the past, particularly after the killing last year of al-Qaida in Iraq leader Abu Musab al-Zarqawi, but the group has proven resilient in finding new recruits and tactics to maintain the violence.

U.S. troops captured 15 suspected militants in operations targeted al-Qaida on Wednesday in Tikrit, Ramadi, Baqouba and Mosul. Those captured were accused of helping smuggle foreign fighters and weapons into Iraq, including five with alleged connections to Syrian-based extremists.

In other violence Wednesday, a bomb exploded near a residential building in the predominantly Shiite neighborhood of Zafaraniyah, killing two civilians and wounding two others, police said.

Gunmen also kidnapped four shepherds, including a 15-year-old boy, south of Baghdad, according to police.

Meanwhile, the U.S. military released about 350 detainees as part of a goodwill gesture marking the end of Ramadan.

However, more than 25,000 Iraqis remain in custody, most in a legal limbo where they are never charged with a specific crime or given a chance before any court or tribunal to argue for their freedom. Of those who receive a proper trial, about 50 percent will be acquitted, the military says.

Iraq's Shiite Vice President Adel Abdul-Mahdi, who attended Wednesday's ceremony, said he believed "the great majority" of detainees released were innocent.

"Everyone should cooperate to empty all detention centers ... of anyone who did no wrong or anyone who was unjustly detained," he said. "We all must cooperate so only those left in prisons are criminals and those who actually deserve punishment."

Among the men released Wednesday, most were between the ages of 35 and 40 with the average stay about a year. said 1st Lt. Angela Webb, a U.S. military spokeswoman.

With the release, about 1,425 detainees have been freed this year for Ramadan, which ended this weekend.