Metz remained a very important city, and as the borders changed over the years, it became the capital of Austrasia (from 561 to 751) and of Lotharingia (from 843 to 925), before becoming part of the Holy Roman Empire (from 925). The city was handed to the King of France in 1552. In 1633, it became the capital of a French province called the "Three Bishoprics". The Prussians captured the town in 1870 and Metz once again became part of Germany, until 1918 when it was won back by France. The Germans captured it once more in1940 but France regained it in 1944.