After the dissolution of the Holy Roman Empire in 1806, the territory became part of the Habsburg Austrian Empire, and subsequently the Austro-Hungarian Empire from 1867. Bohemia retained its name and formal status as a separate Kingdom of Bohemia until 1918, known as a crown land within the Austro-Hungarian Empire, and its capital Prague was one of the empire's leading cities. The Czech language (called the Bohemian language in English usage until the 19th century) was the main language of the Diet and the nobility until 1627 (after the Bohemian Revolt was suppressed). German was then formally made equal with Czech and eventually prevailed as the language of the Diet until the Czech National Revival in the 19th century. German was also widely used as the language of administration in many towns after the Germans immigrated and populated some areas of the country in the 13th century. The royal court used the Czech, Latin, and German languages, depending on the ruler and period.