The Carlist Wars were a series of civil wars that took place in Spain during the 19th century. The contenders fought to establish their claim to the throne, although some political differences also existed. Indeed, several times during the period from 1833 to 1876 the Carlists — followers of Infante Carlos (later Carlos V) and his descendants — rallied to the cry of "God, Country, and King" and fought for the cause of Spanish tradition (Legitimism and Catholicism) against liberalism, and later the republicanism, of the Spanish governments of the day. The Carlist Wars had a strong regional component (Basque region, Catalonia, etc.), given that the new order called into question region specific law arrangements and customs kept for centuries.
When Ferdinand VII of Spain died in 1833, his fourth wife Maria Cristina became Queen Regent on behalf of their infant daughter Isabella II. This splintered the country into two factions known as the Cristinos (or Isabelinos) and the Carlists. The Cristinos were the supporters of the Queen Regent and her government, and were the party of the Liberals. The Carlists were the supporters of Carlos V, a pretender to the throne and brother of the deceased Ferdinand VII. Carlos denied the validity of the Pragmatic Sanction of 1830 that abolished the semi Salic Law (he was born before 1830). They wanted a return to autocratic monarchy.
While some historians count three wars, other authors and popular usage refer to the existence of two big engagements, the First and the Second, with the 1846–1849 events being taken as a minor episode.