Berg was a state – originally a county, later a duchy – in the Rhineland of Germany. Its capital was Düsseldorf. It existed as a distinct political entity from the early 12th to the 19th centuries. The French occupation (1794–1801) and annexation (1801) of Jülich (French: Juliers) during the French revolutionary wars separated the two duchies of Jülich and Berg, and in 1803 Berg separated from the other Bavarian territories and came under the rule of a junior branch of the Wittelsbachs. In 1806, in the reorganization of the German lands occasioned by the end of the Holy Roman Empire, Berg became the Grand Duchy of Berg, under the rule of Napoleon's brother-in-law, Joachim Murat.