The United States invaded Panama in mid-December 1989 during the presidency of George H. W. Bush. The purpose of the invasion was to depose the de facto ruler of Panama, General Manuel Noriega, who was wanted by U.S. authorities for racketeering and drug trafficking. The operation, codenamed Operation Just Cause, concluded in late January 1990 with the surrender of Noriega. The Panama Defense Forces (PDF) were dissolved, and President-elect Guillermo Endara was sworn into office.
Noriega, who had longstanding ties to United States intelligence agencies, consolidated power to become Panama's de facto dictator in the early 1980s. In the mid-1980s, relations between Noriega and the U.S. began to deteriorate due to fallout of the murder of Hugo Spadafora and the removal from office of President Nicolas Ardito Barletta. His criminal activities and association with other spy agencies came to light, and in 1988 he was indicted by federal grand juries on several drug-related charges. Negotiations seeking his resignation, which began under the presidency of Ronald Reagan, were ultimately unsuccessful. In 1989, Noriega annulled the results of the Panamanian general elections, which appeared to have been won by opposition candidate Guillermo Endara; President Bush responded by reinforcing the U.S. garrison in the Canal Zone. Following the declaration of a state of war between Panama and the United States passed by the Panamanian general assembly, as well as the lethal shooting of a U.S. Marine officer at a PDF roadblock, Bush authorized the execution of the Panama invasion plan.