Internally, Spain was in turmoil, with three wars over the succession issue; the Carlist Wars that pitted conservative against liberal and led to the brief ousting of the monarchy and establishment of the First Republic (1873-74); and, finally, the [[Spanish-American War]] of 1898, in which Spain lost [[Cuba]], [[Puerto Rico]], and the [[Philippines]] to the United States. | Internally, Spain was in turmoil, with three wars over the succession issue; the Carlist Wars that pitted conservative against liberal and led to the brief ousting of the monarchy and establishment of the First Republic (1873-74); and, finally, the [[Spanish-American War]] of 1898, in which Spain lost [[Cuba]], [[Puerto Rico]], and the [[Philippines]] to the United States. |