The Great War of Mahabharat between the Pandavas and the Kauravas happened in 3139 BC. The Pandavas, after winning the Mahabharat war, ruled Hastinapur for 36 years and 8 months until the beginning of kaliyugin 3102 BC. Since the Mahabharat war and the beginning of kaliyug were important historical events, they have been widely documented in Bhartiya scriptures and frequently referenced by great scholars such as Mahakavi Kalidas, the greatest poet, writer and the literary figure of his time and Aryabhatt, the greatest astronomer and mathematician. There are astrological, natural, geographical, physical, inscriptional and scriptural evidences that unquestionably establish the date of Mahabharat war as 3139 BC and the beginning of kaliyug as 3102 BC.
The Pandavas spend thirteen years in exile; many adventures occur during this time. They also prepare alliances for a possible future conflict. They spend their final year in disguise in the court of Virata, and are discovered just after the end of the year.
At the end of their exile, they try to negotiate a return to Indraprastha. However, this fails, as Duryodhana objects that they were discovered while in hiding, and that no return of their kingdom was agreed. War becomes inevitable.