It then belonged to the  Principality of Nassau-Orange-Fulda between 1803 and 1806, to France between 1806 and 1810, and then later to the Grand Duchy of Frankfurt between 1810 and 1813. After the Battle of Leipzig, it was occupied by the Allied troops of the Sixth Coalition between 1813 and 1815. After that, it was ceded to the Kingdom of Bavaria in 1815.
The territory changed hands several times between 1803 and 1815: first under the Principality of Nassau-Orange-Fulda, then France, and finally the Grand Duchy of Frankfurt before being ceded to the Kingdom of Bavaria after the Battle of Leipzig.