Shimoga, officially known as Shivamogga, is a city and the district headquarters of Shimoga district in the central part of the state of Karnataka, India. The city lies on the banks of the Tunga River. Being the gateway for the hilly region of the Western Ghats, the city is popularly nicknamed the "Gateway of Malnad". The population of Shimoga city is 322,650 as per 2011 census. The city has been selected for the Smart Cities project, standing in the fourth position in the state and 25th in the country as of November 2020.
The city is 569 m above sea level and is surrounded by lush green paddy fields, arecanut and coconut groves. It is located 267 km from the state capital Bangalore and 195 km from the port city Mangalore.
The name of the city is derived from the term "shivmoga". A version of the etymology is the story that Shiva drank the Tunga River water using "Mogge", hence the name Shiva-mogga". Another version of the etymology is that the name is derived from the term "Sihi-Mogge", meaning "sweet pot".
The district formed the southern tip of the Emperor Ashoka's Mauryan Empire in the third century BC. It was ruled during later centuries by the Kadambas (4th century), Chalukyas (6th century), Western Ganga, Rashtrakutas (8th century), Hoysalas (11th century), and the Vijayanagara rulers (15th century). Nayakas of Keladi , also known as Nayakas of Bednore and Ikkeri Nayakas, were an Indian dynasty based in Keladi in present-day Shimoga district of Karnataka, India. They were an important ruling dynasty in late medieval and early modern Karnataka. They initially ruled as a vassal of the famous Vijayanagar Empire. After the fall of the empire in 1565, they gained independence and ruled significant parts of Malnad region of the Western Ghats in present-day Karnataka, most areas in the coastal regions of Karnataka, and parts of northern Kerala, Malabar and the central plains along the Tungabhadra river. In 1763 AD, with their defeat to Hyder Ali, they were absorbed into the Kingdom of Mysore.