 Some suggested that it was meant to avoid civil war since both of Airlangga sons are equally rightful to the throne.A local legend, mixed with fantastic fiction, mentioned about the partition of the kingdom.It was said that Mpu Bharada was the one that conduct the partition; with his extraordinary skill he flew and pouring water from a jar that the water traces magically transformed into a river marking the boundary of the two new kingdoms.