BAGHDAD (AP) -- Tribal leaders in the besieged city of Fallujah warned al-Qaida-linked fighters to leave to avoid a military showdown, echoing a call by Iraq's prime minister Wednesday that they give up their fight as the government pushes to regain control of mainly Sunni areas west of Baghdad.
The warning came as gunmen attacked an Iraqi army barracks in a Sunni area north of Baghdad, killing 12 soldiers. Seven soldiers were wounded in the assault in Diyala province, authorities said.
The United Nations and the Red Cross, meanwhile, said Fallujah and nearby areas are facing mounting humanitarian concerns as food and water supplies start to run out.
Sectarian tensions have been on the rise for months in Sunni-dominated Anbar province as minority Sunnis protested what they perceive as discrimination and random arrests by the Shiite-led government. Violence spiked after the Dec. 28 arrest of a Sunni lawmaker sought on terrorism charges and the government's dismantling of a year-old anti-government Sunni protest camp in the provincial capital of Ramadi.
Last week, al-Qaida-linked gunmen seized control of Ramadi and nearby Fallujah, cities that were among the bloodiest battlefields for U.S. forces during the Iraq war. The militants overran police stations and military posts, freed prisoners and set up their own checkpoints.
The United States and Iran have offered material help for the Iraqi government but say they won't send in troops.
Speaking in his weekly television address, Prime Minister Nouri al-Maliki hinted of a possible pardon for supporters of al-Qaida's local branch, the Islamic State of Iraq and the Levant, or ISIL, if they abandon the fight.
"The war that is being fought by the Iraqi security forces, tribes and all segments of Iraqi society against al-Qaida and its affiliates is a sacred war," he said. "I call on those who were lured to be part of the terrorism machine led by al-Qaida to return to reason."
In exchange, he promised that his government will "open a new page to settle their cases so that they won't be fuel for the war that is led by al-Qaida."
Iraq's government has rushed additional troops and military equipment to Anbar and has been carrying out airstrikes in an effort to dislodge the militants.
Skirmishes between Iraqi forces and militants broke out on the outskirts of Fallujah and Ramadi again Wednesday, according to witnesses, and militants blew up a small bridge on the edge of Ramadi, officials in Anbar said. There was no immediate report of casualties.
At least four crew members were killed when a military helicopter crashed in Anbar, according to army and government officials in the province and state TV. The officials said the cause was poor weather conditions in the area and there was no indication militants brought it down. They spoke on condition of anonymity because they weren't authorized to release the information.
Influential tribal leaders have been meeting to try to find a way out of the crisis and demanded that al-Qaida members holed up in Fallujah get out of town, said provincial spokesman Dhari al-Rishawi.
"They agreed on expelling ISIL from Fallujah. The told them to withdraw ... or face an attack by the tribes and the army," he said.
That message was echoed over mosque loudspeakers late Tuesday, which also called on fleeing families to come back.
Al-Rishawi and residents reached by phone in Fallujah said at least some of the militants had left the city, which is about 40 miles (65 kilometers) west of Baghdad.
It was not clear how many had gone, or whether they were taking up new positions in different parts of the city.
"We, the residents and the tribes, don't want al-Qaida in the city. We don't want to see the same violence we saw when the Americans were here," said Ayad al-Halbosi, a 22-year-old teacher in Fallujah.
Markets in the city began reopening Wednesday and some families returned to their homes, though residents complained of shortages of fuel and cooking gas. Civilian cars and trucks were seen on the road and traffic policemen were on the streets.
The militant gains in Anbar are posing the most serious challenge to the Shiite-led government since American forces withdrew in late 2011 after years of bitter warfare following the 2003 invasion that ousted Saddam Hussein's Sunni-led regime and propelled the formerly repressed Shiite majority to power.
Vice President Joe Biden spoke to al-Maliki for the second time this week, voicing support Wednesday for the Baghdad government's effort to regain control of Fallujah. The White House said Biden encouraged al-Maliki to continue talks with local, tribal and national leaders and said Biden welcomed al-Maliki's affirmation that Iraqi elections will occur as scheduled in April.