answers: 1814
context: capital city somewhat, as Emperor Napoleon declared the city to be the third city of the Empire (after Paris and Rome) and an imperial residence. In December 1813, after the fall of Napoleon and the accession of Prince William VI of Orange as Sovereign of the Netherlands, The Hague was restored as the seat of government. Although the proper legal status of Amsterdam as capital of the Netherlands is of recent date, the city has been uniformly recognised as capital ever since 1814. This is partly because it is a "Royal City", used not only for the inauguration of kings, </s> Haarlem Haarlem (; predecessor of "Harlem" in the English language) is a city and municipality in the Netherlands. It is the capital of the province of North Holland and is situated at the northern edge of the Randstad, one of the most populated metropolitan areas in Europe. Haarlem had a population of in . It is a 15-minute train ride from Amsterdam, and many residents commute to the country's capital for work. Haarlem was granted city status or "stadsrechten" in 1245, although the first city walls were not built until 1270. The modern city encompasses the former municipality of Schoten </s> in 1613 and proceeded from west to east, across the breadth of the layout, like a gigantic windshield wiper as the historian Geert Mak calls it – and not from the centre outwards, as a popular myth has it. The canal construction in the southern sector was completed by 1656. Subsequently, the construction of residential buildings proceeded slowly. The eastern part of the concentric canal plan, covering the area between the Amstel river and the IJ bay, has never been implemented. In the following centuries, the land was used for parks, senior citizens' homes, theatres, other public facilities, and waterways
question: when did amsterdam become capital of the netherlands