The United States government has participated and interfered, both overtly and covertly, in the replacement of foreign governments. In the latter half of the 19th century, the U.S. government initiated actions for regime change mainly in Latin America and the southwest Pacific, including the Spanish–American and Philippine–American wars. At the onset of the 20th century, the United States shaped or installed governments in many countries around the world, including neighbors Panama, Honduras, Nicaragua, Mexico, Haiti, and the Dominican Republic.