Pyrénées-Orientales was created in 1790 during the French Revolution, when the whole of France was divided into departments, replacing the old provinces. Pyrénées-Orientales was formed by the province of Roussillon and Fenouillèdes (), a small piece of territory which had formerly been on the southern edge of Languedoc.