sentences:  After Napoleon had conquered the area, Eßweiler belonged to France beginning in 1797, finding itself in the Department of Mont-Tonnerre (or Donnersberg in German), or more locally, Eßweiler was the seat of a "mairie" (“mayoralty”) in the Canton of Wolfstein and the Arrondissement of Kaiserslautern.From 1816, after the Congress of Vienna, until the First World War ended, Eßweiler belonged to the Kingdom of Bavaria.Thereafter and until the state of Rhineland-Palatinate was founded in 1947, it belonged to the Free State of Bavaria.