In 1659 Spain ceded Northern Catalonia to France, and Catalan was banned in both states in the early 18th century