A conflict between the United States and Spain that ended Spanish colonial rule in the Americas and resulted in U.S. acquisition of territories in the western Pacific and Latin America.