萊茵邦聯
In 1806, during Napoleon's restructuring of central Europe, French troops occupied Nuremberg and, according to the "Treaty of the Confederation of the Rhine" ("Rheinbundakte"), handed it over to Bavaria, then raised to a kingdom.