Tallinn is the seat of the main institutions of the Republic of Estonia, the parliament (Rigikogu), the presidential residence, and ministries. It is also the administrative center of Harju County.