sentences:  During the time of Napoleon’s annexation of the German lands on the Rhine’s left bank, beginning in 1801, Erdesbach belonged to the "Mairie" (“Mayoralty”) of Ulmet, the Canton of Kusel, the Arrondissement of Birkenfeld and the Department of Sarre, whose seat was at Trier.With the founding of the Kingdom of Bavaria after French times in 1816, Erdesbach belonged to the "Bürgermeisteramt" (“Mayoralty”) of Ulmet, the "Landcommissariat" (later "Bezirksamt", then "Landkreis", or rural district) of Kusel and the "bayerischer Rheinkreis", the part of the kingdom that was not contiguous with the rest to the east.The kingdom's borders, as defined by the Congress of Vienna, remained thus until 1945 (by which time the monarchy had ended and Bavaria was now the Free State of Bavaria).