Updated

WASHINGTON (AP) — Known for his blunt and uncompromising instincts, Gen. Stanley McChrystal spoke his mind once too often.

The commander of U.S. military operations in Afghanistan lost his job Wednesday as penance for his jaw-droppingly blunt remarks in a magazine article about the Obama administration's war effort.

Calm and introspective in public, if a bit brusque, the lanky four-star general has never been one to suffer fools gladly. But challenging the president and his team is another matter.

President Barack Obama, in announcing McChrystal's ouster, said the general did not measure up to "the standard that should be set by a commanding general."

It was McChrystal's hard-nosed realism that had earned him the job to begin with.

"You brought somebody in to get the job done after eight years of neglect and failure," said Anthony Cordesman, a national security analyst with close ties to the Defense Department. "You brought somebody in basically to fight his way through the bureaucratic and organizational barriers."

McChrystal, 55, wasn't trained to maneuver inside the Washington political machine, though. He spent most of his long military career in the dark world of special operations, including five years as head of Joint Special Operations Command at Fort Bragg in North Carolina.

In the Rolling Stone article, McChrystal complained that Obama had handed him "an unsellable position" on the war. "I found that time painful," he said. His aides were quoted making even more provocative statements about the president's team.

The interview wasn't the first time McChrystal had irked Obama's team.

Last year, McChrystal decided that more troops were needed in Afghanistan and sent the Pentagon a secret request for 40,000 reinforcements. The request leaked, and White House aides were infuriated.

They believed McChrystal had put Obama in a dilemma — ignore a decorated war general, or send more troops at the expense of political support.

Later that year, Obama agreed to send 30,000 more troops to Afghanistan on the condition they begin leaving by July 2011.

McChrystal previously drew criticism for the handling of the friendly fire shooting of Army Ranger Pat Tillman, a former NFL star, in Afghanistan. An investigation at the time found that McChrystal was "accountable for the inaccurate and misleading assertions" contained in papers recommending that Tillman get a Silver Star award.

McChrystal acknowledged he had suspected several days before approving the Silver Star citation that Tillman might have died in friendly fire. He sent a memo to military leaders warning them of that, even as they were approving Tillman's Silver Star. The award's citation claimed Tillman had "put himself in the line of devastating enemy fire."

Still, McChrystal told investigators he believed Tillman deserved the award. In 2007, the Army overruled a Pentagon recommendation that McChrystal be held accountable for his "misleading" actions.

Unlike many successful military officers, McChrystal's resume includes only two years spent at the Pentagon — once as a vice director of operations on the Joint Staff, from 2002 to 2003, and again in 2008 for a brief stint as director of the Joint Staff — before being picked by Obama in May 2009 to run the war.

Much of his career has been spent on the front lines in the war on terrorism, studying al-Qaida and orchestrating secret raids. In 2006, his operation was credited with nabbing Abu Musab al-Zarqawi, the leader of al-Qaida in Iraq and one of the most-wanted fugitives.

His special operations forces that year were also accused by human rights activists of abusing detainees at Camp Nama at Baghdad International Airport.

But it wasn't until Obama chose him as the top commander in Afghanistan that McChrystal was thrust into a public debate. His predecessor, Gen. David McKiernan, had been on the job for less than a year and wanted more troops. But Obama's political base, including most Democrats in Congress, didn't want an escalation of the war.

Defense Secretary Robert Gates said his decision to fire McKiernan and hire McChrystal was not because he disagreed with McKiernan's repeated requests for more forces.

But Gates said he believed the war could not be won by military means alone. So he turned to McChrystal, who as a former Green Beret was intimately familiar with counterinsurgency tactics that, it was hoped, could swing the war around.

In cutting McChrystal loose, Obama declared the war effort was "bigger than any one man or woman."

The president seemed to suggest McChrystal's military career was over, saying the nation should be grateful "for his remarkable career in uniform."

The general, for his part, went to his quarters at Fort McNair and issued a terse statement that had all the discipline that was lacking in the magazine comments.

"It was out of respect for this commitment — and a desire to see the mission succeed — that I tendered my resignation," he said. "It has been my privilege and honor to lead our nation's finest.

___

Associated Press writers Lolita C. Baldor in Washington and Robert Reid in Kabul, Afghanistan, contributed to this report.