In 1794 the French revolutionary armies conquered half of the Rhineland, including Trier. The Electoral Palace was confiscated and used as barracks. This continued after the Prussians took over in 1814.