The United States treated Gaddafi as an enemy due to his support for terrorism against us, until a rapprochement of sorts began under Pres. George W. Bush at the very end of 2003.
In 2004, President Bush gave Prime Minister Sharon certain guarantees about American policy, but the Obama administration treated those as a kind of private letter having no binding policy impact.