Magelang is a regency in Central Java, Indonesia, famous for its 9th century Buddhist temple of Borobudur. Its capital is Mungkid. It covers an area of 1,085.73 km² and had a population of 1,181,723 at the 2010 Census and 1,299,859 at the 2020 Census. These figures exclude the autonomous city of Magelang, which is separately administered but is geographically enclaved within the regency, which borders Temanggung Regency to the north, Semarang Regency to the northeast, Boyolali Regency to the east, the Special Region of Yogyakarta to the south and southeast, Purworejo Regency to the southwest, and Wonosobo Regency to the west. Its motto is Magelang Gemilang.