Kahuripan (also spelt Kuripan) was an 11th-century Javanese Hindu-Buddhist kingdom with its capital located around the estuarine of Brantas River valley in East Java. The kingdom was short-lived, only spanning the period between 1019 and 1045, and Airlangga was the only raja of the kingdom, which was built out of the rubble of the Kingdom of Mataram after the Srivijaya invasion. Airlangga later in 1045 abdicated in favour of his two sons and divided the kingdom into Janggala and Panjalu (Kadiri). The kingdom's name derived from Old Javanese term hurip ("to life") with circumfix ka- -an which means "life" or "livelihood". Later in 14th to 15th century, the former kingdom was recognised as one of Majapahit's 12 provinces.
Airlangga was the son of queen Mahendradatta (a princess of the Isyana Dynasty, Mataram, the sister of Dharmawangsa) and Udayana Warmadewa (a king of the Warmadewa Dynasty, Bali). Airlangga was born and grew up in Bali, he spend his youth in Watugaluh Palace, Mataram, under the patronage of his uncle, king Dharmawangsa. Airlangga was betrothed to his cousin, one of Dharmawangsa's daughter, thus arranged marriage was in place. At that time, Mataram had become a powerful kingdom, allied or probably subjugated Bali, and had established a colony in West Kalimantan. Dharmawangsa aspired to ascend Mataram as regional power by challenging Srivijaya Empire domination. He launched naval invasion against Srivijaya and unsuccessfully tried to capture Palembang. Srivijaya resiliently succeed on repelling Javanese Mataram invaders.
The Calcutta Stone inscription (dated from 1041), describes a terrible calamity which befell the East Javanese kingdom of Isyana dynasty in the early years of the 11th century. In 1006, a rebellion incited by a vassal king Wurawari from Lwaram resulted in the destruction of the capital of Watugaluh. The reigning king, Dharmawangsa, successor to Sri Makutawangsawardhana, was murdered along with his entire family and many of his subjects. Only the young Airlangga, who was aged about 16 at the time, managed to escape unharmed.