Mangalore, officially known as Mangaluru, is the chief port city of the Indian state of Karnataka. It is located about 352 km (219 mi) west of the state capital, Bangalore, between the Arabian Sea and the Western Ghats mountain range. It is the second major city in Karnataka state in all aspects after Bangalore. It is also known as the Gateway of Karnataka. The population of the urban agglomeration was 623,841, according to the provisional results of the 2011 national census of India.