In accordance with a new decree of Philip V, which abolished Catalan laws and institutions after the War of succession, which ended in 1714, the marginalization of the Catalan language and culture gradually increased in favor of the Castilians. The new Plant Decree was a royal measure aimed at suppressing those who were defeated during the Inheritance War, and it initiated the creation of a Spanish centralized state in accordance with the laws of Castile, and for the first time founded the Kingdom of Spain. This centralization took quite some time during the nineteenth and early twentieth centuries, reaching maximum levels during the dictatorship of Franco and the White Terror.