Ujjain ( also known as Ujain, Ujjayini, Avanti, Avantikapuri), is an ancient city of Malwa region in central India, on the eastern bank of the Kshipra River , today part of the state of Madhya Pradesh. It is the administrative centre of Ujjain District and Ujjain Division.
In anciet times the city was called Ujjayini. As mentioned in the Mahabharata epic, Ujjayini was the capital of the Avanti Kingdom, and has been the Prime Meridian for Hindu geographers since the 4th century BCE. Ujjain is one of the seven sacred cities (Sapta Puri) of the Hindus, and the Kumbh Mela religious festival is held there every 12 years. It is also home to Mahakaleshwar Jyotirlinga, one of the twelve Jyotirlinga shrines to the god Shiva and is also the place where Lord Krishna got education with Balarama and Sudama from Maharshi Sandipani.
Ancient Indian (Bharata) cities and places (title and location names are in English.)
Coin showing Karttikeya and Lakshmi (Ujjain, circa 150–75 BC)
The earliest references to the city, as Ujjaini, are from the time of the Buddha, when it was the capital of the Avanti Kingdom. Since the 4th century B.C. the city has marked the first meridian of longitude in Hindu geography. It is also reputed to have been the residence of Ashoka (who subsequently became the emperor), when he was the viceroy of the western provinces of the Mauryan empire.
In the Post-Mauryan period, the city was ruled by the Sungas and the Satavahanas consecutively. It was contested for a period between the Satavahanas and the Ror Sakas (devotees of Shakumbari), known as Western Satraps; however, following the end of the Satavahana dynasty, the city was retained by the Rors from the 2nd to the 4th century CE. Ujjain is mentioned as the city of Ozene in the Periplus of the Erythraean Sea, an antique Greek description of sea ports and trade centers in the western Indian Ocean. Following the enthroning of the Gupta dynasty, the city soon became an important seat in the annals of that empire. Ujjain is considered to be the traditional capital of King Chandragupta II, also known as Vikramaditya, at whose court the nine poets known as the navaratna (nine jewels) of Sanskrit literature are said to have flourished.
In the 10th and 11th centuries, Ujjain was a major centre of mathematical and astronomical research. The famous mathematicians who worked there included: Brahmagupta, whose book Brahmasphutasiddhanta was responsible for spreading the use of zero, negative numbers and the positional number system to Arabia and Cambodia; Varahamihira, who was the first to discover many trigonometric identities; and Bhaskaracharya, or Bhaskara II, whose book Lilavati broke new ground in many areas of mathematics.