When Stuttgart was run as a (or within) the Duchy of Württemberg, it was governed by a type of protectorate called a Vogt appointed by the Duke. After 1811 this role was fulfilled by a City Director or 'Stadtdirektor'. After 1819 the community elected its own community mayor or 'Schultheiß'. Since 1930 the title of Oberbürgermeister (the nearest equivalent of which would be an executive form of Lord Mayor in English) has applied to Stuttgart and all other Württemberg towns of more than 20,000 inhabitants.