The Paregreg war is the Majapahit civil war that takes place in 1404-1406.
The war is fought as the contest of succession between the Western court led by Wikramawardhana, against the Eastern court led by Bhre Wirabhumi.
This war of rivalry and succession causes the calamity, crisis, court's preoccupation, the drain of financial resources, and exhaustion that is thought to be one of the causes of Majapahit decline in the following years.