It took the threat of economic calamity to force Congress and President Barack Obama to finally reach a debt deal. Just like it took a near government shutdown to compel them to strike a budget agreement in April. And the prospect of an unpopular tax hike at the start of the year to force them to compromise in December.
So what have we learned from the default crisis? Expect more to come, America.
The same messy forces of divisive politics, decisions-on-deadline and vastly differing visions for the country will apply to the two overlapping stories barreling in on everyone. The first is the 2012 campaign, in which the White House and Congress are on the line. The second is the coming period of governing in which the debt fight will only get harder.
In the least, one lesson for the next year and a half is that the government can work when it absolutely has to do so. The deal moving through Congress gives the country enough borrowing power to pay all its bills come Wednesday morning, cuts spending and sets in motion a vote on broader deficit reduction this year.
Yet to expect more _ say, a bipartisan jobs agenda _ is a real reach before the next election. And oh, what a mess to get this far.
Washington always has stalemates, but this one brought the country to the brink of defaulting for the first time in history.
By the end, Obama found it more effective to plead with the public to lobby lawmakers through Twitter than to negotiate with them.
No leader emerged talking about how this all built trust between these two branches of government. It was more like an endurance contest that left much of the world in disbelief.
A Pew Research Center poll out Monday found that most Americans of all political persuasions found the default fight to be ridiculous.
Tom Teska, a 52-year-old data analyst in Chicago, captured the sentiment of many on Monday when he said the fight in Congress will hurt Democrats and Republicans alike come election time. "They're all going to have a hard time recovering from this," he said.
The standoff revealed that the Republicans, despite controlling just half of Congress, exert enormous influence over what gets done and what does not. They were unyielding in insisting on spending cuts, even above the amount the debt limit would be increased, a condition never before attached.
Obama wanted tax increases on wealthy Americans to be part of the deal but the Republicans refused to go along, and the president relented. Obama, though, achieved his final bottom line, winning an assurance the country would not have to endure the same mess or the threat of default until at least after the 2012 election.
In essence, it was another forced compromise for both sides, not a willing one, which is how the pattern is sure to continue.
The debacle also said something about the country itself.
People want less squabbling from their elected leaders. Yet many times they vote in ways that practically ensure it, by ousting moderates in party primaries and electing, in some cases, candidates who proudly say they will not compromise.
And what about those millions of missing jobs? All sides say they care about that issue the most. Obama's re-election will likely be driven by it.
Yet another takeaway from this episode is that Washington is immersed in issues that target employment only indirectly: the size of the debt, the need to inject fairness into the tax system, the political will to reform Medicare, Medicaid and Social Security, the very role of government.
Obama said from the start he wanted to take on big deficit reform. But Republicans, particularly the boisterously conservative tea party-flank of the party, forced the issue by winning the 2010 elections. Regardless, the true test of leadership on the debt is coming soon.
Almost overlooked in the mad push to avoid a meltdown this week is what would have to happen by Christmas.
The debt legislation would force Congress to vote on up to $1.5 trillion in deficit reduction by Dec. 23, taking on tough issues that have proved elusive for decades. And if Congress fails to do so, it would have to live with about $1 trillion in automatic cuts both parties would hate, a built-in penalty intended as incentive.
So that action will frame up the next five months in Washington and set a crucial tone for the 2012 elections.
Campaign strategists say it's too early to know how the debt-ceiling issue will affect the mindset of voters.
Democrats are in serious danger of losing their 53-47 edge in the Senate in the 2012 elections. They have far more competitive seats to defend, including those in Missouri, Montana and Nebraska. In the House, it is conceivable Democrats could regain control, but it would take a big wave election in their favor.
For Obama and congressional Democrats, the biggest campaign challenge might be to find a better way to shape their message to voters.
Democratic strategist Doug Thornell said Obama clearly has angered some liberals, but he is poised to make significant inroads with independents, the slice of the electorate that has decided the last few elections.
And James Cottrill, a Santa Clara University political scientist, said the biggest gain for Obama is that he avoided a federal default that many voters might have blamed on him. On the down side, he said, "jobs are what will matter in 2012, and it is hard to see how spending cuts are going to offer any help in that regard."
As the votes needed to get the bill to Obama's desk appeared to be coming together on Capitol Hill, it was hard to find anyone who was not eager to move on.
"This was a mess. There is no question. It was a circus at times," presidential spokesman Jay Carney said at the White House. "We unnecessarily sent the message around the country and the globe that the United States might, in fact, default on its obligations for the first time in its history. But in the end, compromise won out."
He said that was hope to build upon.
The country will know the next time its government is up against a deadline.
EDITOR'S NOTE _ Ben Feller, the AP White House correspondent, has covered the Obama and George W. Bush presidencies. Charles Babington covers national politics for The Associated Press.
Associated Press writer Don Babwin in Chicago contributed to this report.