Shivamogga previously known as Shimoga, is a large city and the district headquarters of Shivamogga District in the center of the state of Karnataka, India. The city lies on the banks of the Tunga River. Being situated at the foot of the hilly region of the Western Ghats, the city is nicknamed "Gateway to Malenadu", "Malenadu" meaning "Rain Land".
Lord Shiva is said to have drunk Tunga river water using a pot ("Mogga") at the city, hence the city name Shivamogga. An alternative etymology is that the name is derived from the term "Sihi-Mogga", meaning "sweet pot". The district formed the southern tip of Emperor Ashoka's Mauryan Empire in the third century BC.[citation needed] It was ruled during later centuries by the Kadambas (4th century), Chalukyas (6th century), Gangas, Rashtrakutas (8th century), Hoysalas (11th century), and the Vijayanagara rulers (15th century). From the late 17th century onwards, the city was a part of the Kingdom of Mysore under the British Raj until the independence of India in 1947, when Mysore merged into the Republic of India.
Source : Wikipedia