WASHINGTON - The enormous cache of secret war logs disclosed by the WikiLeaks website paints a picture of an Iraq burdened by persistent sectarian tension and meddling neighbors, suggesting that the country could drift into chaos once American forces leave.
The reports, covering early 2004 to Jan. 1, 2010, help explain why Iraq's struggle to create a unified, independent state continues, despite a dramatic reduction in violence. They appear to support arguments by some experts that the United States should keep thousands of troops there beyond their scheduled departure in 2011, to buy more time for Iraq to become stable.
The threats described in the leaked documents come from outside, including next-door Iran, as well as inside, in the form of sectarian, political, and even family rivalries that predate the 2003 invasion and endure today.
The reports demonstrate the weakness of Iraq's civic institutions, court system, and military, even before sectarian violence exploded in 2006-07.
In the fall of 2005, the U.S. military discovered evidence of plots to assassinate various officials, including an Iraqi army colonel. In September, one of the war logs said, several judges were abducted in Balad, beaten, and forced into the trunk of a car.
Another example: On June 6, 2006, U.S. forces reported discovering large amounts of blood on the floor, a rubber hose, and electric wires rigged to a metal door in a holding cell in an Iraqi police station in western Iraq.
The report called the discoveries "evidence of unchecked torture" and "clear indications" of human-rights violations.
The U.S. report said that for a time, U.S. military advisers slept in the police station to make sure prisoners were not abused, checked arrest logs, and counseled Iraqi police.
But even a program of training and counseling didn't put an end to the abuses. According to a report dated Feb. 16, 2009, U.S. forces reported the mistreatment of 33 detainees in custody at the same police station.
The Associated Press was given access to a redacted WikiLeaks database hours before its general release Friday, but was not provided the raw data. The documents appear to be authentic, but their origin could not be confirmed independently.
The war logs were made public in defiance of the Pentagon, which insisted that the release would put the lives of U.S. troops and allies at risk.
The leaked war logs reflect significant progress as well. There has been a dramatic improvement in security since the height of the violence in 2006-07, due to a weakened threat from al-Qaeda in Iraq and an Iraqi population weary of the sectarian bloodletting that once threatened to plunge the country into civil war.
Even so, some experts question whether the fledgling military and police are capable of defending Iraq after Washington completes its planned pullout Dec. 31, 2011.
Those who hold these pessimistic views also worry that Iraq could repeat its history of turning to a military dictator in the mold of Saddam Hussein.
Ryan Crocker, ambassador to Iraq in 2007-08, said Washington had decided to turn the page on Iraq but must not close the book.
"We're still very much at the beginning of this story," he said Friday, "or more to the point, the Iraqis are at the beginning of their new narrative in their history, and for all of the extraordinary achievements that we've seen, the list of challenges is even greater."
One major challenge is the country's political paralysis. Iraqi politicians are struggling to form a government seven months after a national election failed to produce a clear winner. That's a symptom, to some, of the country's stubborn religious and ethnic schisms.
Prime Minister Nouri al-Maliki's opponents said the WikiLeaks documents showed he must be stopped from consolidating power. Maliki's office responded by saying the document leak was timed to sabotage his reelection hopes.
Crocker called it "profoundly important" that the United States maintain a military presence in Iraq beyond 2011, despite America's weariness with the long and costly war and pressure to shift more resources to Afghanistan.
The leaked documents posted by WikiLeaks recount Iran's role in arming and training Shiite militia groups and seeking to influence Iraqi politics - a concern that may deepen as American influence in Baghdad wanes.
In Crocker's view, Iraq will struggle for years with profound internal political and social problems. Meanwhile, he said, Iran is in effect telling Iraq: "Looks like the Americans are leaving, and guess what - flash news - we're staying."
Before the U.S.-led invasion, predominantly Arab Iraq was stronger militarily than Persian Iran, an old foe.
Today, due to the U.S. defeat of Hussein's forces and its dismantling of his army, Iran enjoys a vast numerical advantage over Iraq in battle tanks and other weapons of war. Iran is likely to keep that edge for years.
Anthony Cordesman, a military analyst at the Center for Strategic and International Studies and a frequent visitor to Iraq, said that it could be another decade before Iraq had an effective air force.
In 2003, Iraq had 2,200 main battle tanks, compared with 1,565 for Iran, Cordesman wrote in a new assessment of Iraq's military. Today, Iran's fleet of main battle tanks has swelled to 1,613 while Iraq's has fallen to 149.
By Cordesman's calculations, Iraq's security forces are going to be much less capable in December 2011 - when the last U.S. troops are scheduled to depart - than was planned when the Bush administration negotiated the withdrawal agreement two years ago.
At a news conference in London on Saturday, WikiLeaks said it would soon publish 15,000 additional secret Afghan war documents. The group has published 77,000 U.S. intelligence reports about the war in Afghanistan in addition to the almost 400,000 U.S. documents about the Iraq war.