After the Napoleonic era, Maastricht became part of the United Kingdom of the Netherlands in 1815. It was made the capital of the newly formed Province of Limburg (1815–1839). When the southern provinces of the newly formed kingdom seceded in 1830, the Dutch garrison in Maastricht remained loyal to the Dutch king, William I, even when most of the inhabitants of the town and the surrounding area sided with the Belgian revolutionaries. In 1831, arbitration by the Great Powers allocated the city to the Netherlands. However, neither the Dutch nor the Belgians agreed to this and the arrangement was not implemented until the 1839 Treaty of London. During this period of isolation Maastricht developed into an early industrial town.