WASHINGTON (AP) \u2014 President Joe Biden made up his mind about Afghanistan months \u2014 really years \u2014 ago.\r\n\r\nFor more than a decade, Biden advocated for an end to American involvement in Afghanistan. But he did so as something of an outsider, a senator whose ultimate power came in the form of a single vote on Capitol Hill or a vice president who advised another president.\r\n\r\nBut authority over America's longest war finally fell into Biden's hands this year and he insisted that the U.S. withdraw from Afghanistan, settling on an August 31 deadline. And despite the rapid collapse of the Afghan government, spurring a humanitarian crisis and searing criticism at home and from traditional allies, he was resolute, at times defiant. He took responsibility and in turns leveled blame at his predecessor.\r\n\r\nAfter months of largely focusing on quelling the pandemic and stimulating the economy, the chaos in Afghanistan triggered the first foreign policy crisis of Biden's presidency, temporarily drowning out his other priorities. His response offers a fuller picture of how Biden approaches his job, relying on a political sensibility he built as a veteran of the Senate who has weathered decades of Washington tumult and scandal.\r\n\r\nHow Biden is handling the weight of his decision to end the war is a product of his 40 years in public life, many of them spent studying the world. He sold voters on his experience and this is the first time he is offering decisions, not mere opinions in a Senate hearing \u2014 and he will be judged by the outcome, which is far from clear at this point. Americans are seeing a different side of Biden during this crisis, a sterner, sometimes testy man known much better for his empathy.\r\n\r\nIn the face of setbacks that would prompt most politicians to step back and offer some level of contrition, Biden has only grown firmer in his position this week. He has acknowledged that the Taliban advanced faster than expected but has said, both privately to aides and in a pair of public addresses to the American people, that the swift collapse of the Afghan government proved correct his longstanding skepticism of the war effort.\r\n\r\n\u201cIf anything, the developments of the past week reinforced that ending U.S. military involvement in Afghanistan now was the right decision,\u201d he said Monday, as he sought to sidestep blame for the disorderly withdrawal.\r\n\r\nBiden\u2019s decision laid bare a cold realism in his view of American military power: American forces shouldn\u2019t be used to promote the nation\u2019s ideals abroad.\r\n\r\nTroops, in Biden\u2019s estimation, should be focused more narrowly on threats to the homeland, and the nation\u2019s diplomatic and economic might are the proper tools to uphold its values overseas. It\u2019s a sentiment the White House believes Americans agree with after nearly two decades of endless conflicts, but one that comes with painful cost for tens of thousands of Afghans who assisted the U.S. occupation or thrived under it.\r\n\r\nTo advisers, he\u2019s reiterated that his opposition to the 2009 surge in Afghanistan ordered by President Barack Obama was one of his proudest moments in government.\r\n\r\nThat confidence, which even some allies say sometimes borders on obstinance, has been a defining force in Biden\u2019s political life and now his presidency. When he believes he is in the right, current and former aides say, there is little talking him out of it.\r\n\r\nHis commitment to causes has been evident throughout his career, according to his former Senate colleague Trent Lott, underscored even by the length of his speeches.\r\n\r\n\u201cHe was prone to making long speeches on the Senate and I used to joke, \u2018We can go get something to eat, this is going to be a while,\u2019 but they were good speeches and it\u2019s what he believed in,\u201d Lott, a Mississippi Republican, said.\r\n\r\nThat sense of clarity, sometimes bordering on rigidity, helped Biden overcome a childhood stutter and sustained his sagging third presidential campaign through the doldrums of 2019 to an upset nomination a year ago. In the White House, it was his own zeal to reach a bipartisan infrastructure accord that propelled the legislation through the divided Senate earlier this month.\r\n\r\nIt was on display again Friday as Biden insisted, despite a mounting chorus of condemnation from allies abroad, that the haphazard American withdrawal from Afghanistan was improving the country\u2019s stature overseas.\r\n\r\n\u201cThe fact of the matter is I have not seen that,\u201d Biden maintained when asked about allies from the United Kingdom to Germany that have publicly questioned America\u2019s credibility. \u201cMatter of fact, the exact opposite. I\u2019ve got the exact opposite thing as we\u2019re acting with dispatch, we\u2019re acting, committing to what we said we would do.\u201d\r\n\r\nBiden acknowledged for the first time at length the heart-wrenching scenes of confusion as Americans, allies and Afghans struggle to flee the Taliban. But he was adamant that his decision was the right one, saying he always envisioned some amount of chaos in the pullout.\r\n\r\n\u201cThere\u2019s no way in which you\u2019d be able to leave Afghanistan without there being some of what you\u2019re seeing now,\u201d Biden said.\r\n\r\nDespite Biden's confidence, the administration\u2019s initial public response was faltering.\r\n\r\nThe president was at Camp David as part of his summer vacation but scrambled back to the White House on Monday, the day after Kabul fell. In his first public remarks on the situation, he admitted no fault for the chaotic drawdown.\r\n\r\nSubsequent briefings at the White House, Pentagon and State Department raised as many questions as they answered, with officials being unable to say how many Americans remained in Afghanistan and how they, and their Afghan allies, would be lifted to safety. An image released of Biden sitting alone at a Camp David situation room was widely panned and later regretted within the White House, the officials said.\r\n\r\nIn a televised interview Wednesday, Biden said flatly \u201cno\u201d when asked if it could have been handled better or if the administration made any mistakes.\r\n\r\n\u201cThe idea that somehow there\u2019s a way to have gotten out without chaos ensuing, I don\u2019t know how that happens,\u201d he told ABC.\r\n\r\nThe moment has created a political opportunity for his opponents, who have otherwise struggled to find much of an opening to hit Biden since he took office.\r\n\r\nRepublicans sought to use the blundered withdrawal to deem Biden weak and ineffective. Some Democrats questioned the evacuation process and worried that it could damage the party\u2019s chances of holding onto its congressional majorities next year. Lawmakers in both parties promised to launch investigations of the failures that led to the chaotic exit.\r\n\r\nThe White House has pointed to public polling that consistently shows that the majority of American people were in favor of ending the nation\u2019s presence in Afghanistan. Roughly two-thirds of Americans said they did not think the war in Afghanistan was worth fighting, according to a poll released this week by The Associated Press-NORC Center for Public Affairs Research.\r\n\r\nAides believe that, particularly if the evacuation process at the airport improves, the story will fade from the headlines and Biden will eventually get credit for ending the war, something his predecessors could not do.