(For more coverage of the pirate crisis click on [nPIRATES]
* U.S. Navy said captain's life was in danger
* President Obama authorized use of force
* Pirates vow revenge against U.S. and France
* Jubilant celebration by crew in Kenya
By Abdi Sheikh and Abdi Guled
MOGADISHU, April 13 U.S. Navy special forces freed an American ship's captain by killing three Somali pirates who held him hostage in a lifeboat, ending a five-day standoff but risking more confrontations in violence off the waters of east Africa.
The life of cargo ship captain Richard Phillips was in danger when Navy snipers aboard a U.S. destroyer shot at his Somali captors on Sunday, freeing him unharmed and killing three of four pirates who had held him after trying to seize his vessel, the Navy said. The fourth pirate was in custody.
A U.S. Navy commander made a split-second decision to fire on the pirates because he believed that Phillips, who tried to escape on Friday, faced imminent danger amid tense hostage talks with his captors and deteriorating sea conditions.
"They were pointing the AK-47s at the captain," Vice Admiral William Gortney, head of the U.S. Naval Central Command, said in a Pentagon briefing from Bahrain.
"The on-scene commander took it as the captain was in imminent danger and then made that decision (to kill the pirates) and he had the authorities to make that decision and he had seconds to make that decision."
President Barack Obama granted the Pentagon's request for standing authority to use appropriate force to save the life of the captain, Gortney said.
The U.S. Navy 5th Fleet in Bahrain said the rescue took place at 12:19 p.m. EDT (1619 GMT) and the lifeboat had drifted to about 20 miles (32 km) from lawless Somalia's coast.
Phillips, captain of the U.S.-flagged Maersk Alabama container ship, contacted his family after the rescue, received a routine medical evaluation, and was resting comfortably aboard the amphibious assault ship USS Boxer.
"We are all absolutely thrilled to learn that Richard is safe and will be reunited with his family," said Maersk Line chief executive John Reinhart.
A smiling Phillips was shown in a picture released by the U.S. Navy after his rescue.
Phillips' crew set off flares, hoisted an American flag and jumped for joy at the news of their captain's rescue.
"We are very happy. He's a hero," one crew member of the Maersk Alabama shouted at journalists amid raucous celebrations on the deck of the vessel, docked in Kenya's Mombasa port. [nLC335299]
Phillips, 53, was the first American taken captive by Somali pirate gangs who have marauded in the busy Gulf of Aden and Indian Ocean shipping lanes for years.
Asked about fears pirates could now decide to act more violently, Gortney said: "Yes, there's second and third order effects to every action and this could escalate violence in this part of the world, no question about it."
PIRATES VOW REVENGE
Obama, spared from having another thorny foreign policy crisis added to his troubles with the U.S. economic meltdown and the war in Afghanistan, welcomed the rescue, praised the U.S. military and vowed to curb rampant piracy.
"To achieve that goal, we must continue to work with our partners to prevent future attacks, be prepared to interdict acts of piracy and ensure that those who commit acts of piracy are held accountable for their crimes," he said in a statement. [nN12330110]
The saga has drawn world attention to the long-running piracy problem off Somalia that has pushed up shipping insurance costs and disrupted international trade.
The White House issued a timeline that showed Obama received frequent updates on the crisis and on Friday and Saturday gave the Pentagon policy guidance authorities to allow U.S. forces to take emergency actions.
Somali pirates vowed to avenge the shooting of their comrades, as well as a French military assault to rescue a yacht on Friday.
"The French and the Americans will regret starting this killing. We do not kill, but take only ransom. We shall do something to anyone we see as French or American from now," Hussein, a pirate, told Reuters by satellite phone. [nLC343356]
The Maersk Alabama, a container ship carrying food aid for Somalis, was attacked far out in the Indian Ocean on Wednesday, but its 20 American crew apparently fought off the pirates and regained control.
Phillips volunteered to go with the pirates in a Maersk Alabama lifeboat in exchange for the crew, Gortney said.
"The actions of Captain Phillips and the civilian mariners of Maersk-Alabama were heroic. They fought back to regain control of their ship, and Captain Phillips selflessly put his life in the hands of these armed criminals in order to protect his crew," he said in a statement.
Joseph Murphy, whose son Shane was Phillips's second in command and took over the Alabama after pirates left with Phillips, said in a statement read by CNN, "Our prayers have been answered on this Easter Sunday."
"My son and our family will forever be indebted to Capt. Phillips for his bravery. If not for his incredible personal sacrifice, this kidnapping -- an act of terror -- could have turned out much worse."
MORE VIOLENCE FEARED
Experts had expected a quick end to the standoff, but the pirates held out for both a ransom and safe passage home. Friends told Reuters the gang wanted $2 million.
Andrew Mwangura, coordinator of Mombasa-based East African Seafarers Assistance Program, said the rescue would change the stakes in future pirate attacks.
"This is a big wake-up to the pirates. It raises the stakes. Now they may be more violent, like the pirates of old," he said.
So far, pirates have generally treated hostages well, sometimes roasting goat meat for them and even passing phones round so they can call loved ones. The worst violence reported has been the occasional beating and no hostages are known to have been killed by pirates.
The U.S. Justice Department said in a statement it "will be reviewing the evidence and other issues to determine whether to seek prosecution in the United States." (Additional reporting by David Morgan and Randall Mikkelsen in Washington, Abdi Sheikh and Ibrahim Mohamed in Mogadishu, Jack Kimball, Celestine Achieng and Njuwa Maina in Mombasa, Andrew Cawthorne and Abdiaziz Hassan in Nairobi; Writing by Paul Eckert; Editing by Howard Goller and Chris Wilson)