The Waldgraviate and Rhinegraviate of Salm-Kyrburg – as of 1743 the Principality of Salm-Kyrburg – stood as an Imperially immediate territory from 1499 until the Treaty of Lunéville in 1801. The capital was Kirn. After the Principality of Salm-Kyrburg was conquered in 1794 and 1795 by French Revolutionary troops and annexed by France in 1798, the Holy Roman Empire ceded the country to France in the Treaty of Lunéville. The Princes lived mainly in Paris, where Prince Friedrich III of Salm-Kyburg was put to death by guillotine in the Reign of Terror in 1794.