Despite the Spanish defeat during the Spanish-American War, which cost the nation its colonies in Cuba, Puerto Rico and the Philippines the nation continued to maintain a modern army. During the 19th century the Spanish military had worn French-made sun helmets that were in essence copies of the 1886 pattern – but the Spanish also used British made helmets throughout its empire. After the Spanish-American War the Spanish even adopted a helmet that was a copy of the Wolseley pattern.