Estonia is a unitary country with a single-tier local government system. Local affairs are managed autonomously by local governments. Since administrative reform in 2017, there are in total 79 local governments, including 15 towns and 64 rural municipalities. All municipalities have equal legal status and form part of a county, which is a state administrative unit. Representative body of local authorities is municipal council, elected at general direct elections for a four-year term. The council appoints local government, headed by a mayor. For additional decentralization the local authorities may form municipal districts with limited authority, currently those have been formed in Tallinn and Hiiumaa.