Kumbakonam, is a town and a special grade municipality in the Thanjavur district. It is located 40 km (25 mi) from Thanjavur and 273 km (170 mi) from Chennai. Kumbakonam is known as a "temple city" due to the prevalence of a number of temples here and is noted for its Mahamaham festival which attracts people from all over the country.