Throughout most of the 20th century, Venezuela maintained friendly relations with most Latin American and Western nations. Relations between Venezuela and the United States government worsened in 2002, after the 2002 Venezuelan coup d'état attempt during which the U.S. government recognized the short-lived interim presidency of Pedro Carmona. In 2015, Venezuela was declared a national security threat by U.S. president Barack Obama. Correspondingly, ties to various Latin American and Middle Eastern countries not allied to the U.S. have strengthened. For example, Palestinian foreign minister Riyad al-Maliki declared in 2015 that Venezuela was his country's "most important ally".