Moammar Gadhafi is an eccentric leader who came to power in a bloodless coup in 1969 as the 27-year-old captain who deposed a king. He fancied himself the Arab world's answer to Mao or Castro, vowing to bring "Islamic socialism" to Libya.
Since his rise to power 42 years ago Gadhafi has been an erratic player on the international stage, continually switching policies and allegiances throughout the decades.
Long before Saddam Hussein and Osama bin Laden ever made America's most wanted list, Gadhafi, 68, was the world's top sponsor of international terrorism. President Ronald Reagan called him the "mad dog of the Middle East" and said that Gadhafi's goal was "a world revolution, a Muslim fundamentalist revolution."
In retaliation for Libya's bombing of a West German disco that killed two American soldiers in 1986, Reagan ordered an air strike on Gadhafi's compound. Gadhafi survived the strike but his adopted baby daughter died.
The United States and Libya would be at odds again in 1988 after the United States determined that Libyan agents were behind the bombing of Pan Am flight 103 over Lockerbie, Scotland. The bombing killed 270 people, including 189 Americans.
The terrorist attack resulted in the United States and the United Nations imposing strict sanctions on Libya. One year later, Libya would be blamed for another terrorist attack, the 1989 bombing of a French airliner over Niger in West Africa. That attack killed 170 people of 17 nationalities.
A frequent adversary of the United States through the '70s, '80s and '90s, Gadhafi has worked to repair his relationship with America in the past decade. In 1999, he handed over the two Libyans charged in the Lockerbie bombing and in 2001 he was one of the first Arab leaders to issue a statement of condolences to the United States after 9/11.
"It is human duty to show sympathy with the American people and be with them in these horrifying and awesome events which are bound to awaken human conscience," he said.
The restoration of normal diplomatic relations with the United States has taken years, ABC News' Chirstiane Amanpour said.
"Gadhafi has not been a reliable partner by any stretch of the imagination over the last several decades," she said. "There were ties cut between the United States and Libya for many, many years, only resumed back in 2009 and only after the war with Iraq. After which Gadhafi decided to put on the table and basically hand over any plans for any weapons of mass destruction."
Gadhafi has also been a fierce critic of al Qaeda, calling it a common enemy that must be fought. Although he has been hesitant to accept full responsibility for the bombing of Pan Am 103 and the French airliner, he has agreed to pay out more than $2.7 billion in damages to the victims' families.
More recently, Gadhafi has come under fire from the international community after welcoming the convicted Lockerbie bomber back to Libya as a hero when he was released from prison on compassionate grounds.
Today, the man who has controlled the North African nation with his own style is fighting his own people to remain in power.