During the Franco-Spanish War (1635–1659), Catalonia revolted (1640–1652) against a large and burdensome presence of the royal army, being briefly proclaimed a republic under French protection, until it was largely reconquered by the Spanish army. By the Treaty of the Pyrenees (1659), the northern parts of Catalonia, mostly the Roussillon, were ceded to France. During the War of the Spanish Succession (1701–1714), the Crown of Aragon sided against the Bourbon Philip V of Spain; following Catalan defeat on 11 September 1714, Philip V imposed a unifying administration across Spain, enacting the Nueva Planta decrees which, like in the other realms of the Crown of Aragon, suppressed the Catalan institutions and rights. This led to the eclipse of Catalan as a language of government and literature, replaced by Spanish. Throughout the 18th century, Catalonia experienced economic growth.