Ciung Wanara Became The King of Galuh Kingdom
One day, when King Permana Di Kusuma was meditating, Barmawijaya had him murdered, because he wanted to wed Nyimas Dewi Pengrenyep, who already gave him a son named Hariang Banga. Then he married both queens and appointed himself as the king. Since then Nyimas Dewi Naganingrum and Ciung Wanara continued to live inside the palace.
When King Sanjaya, the king of Sunda kingdom and the father of Tamperan Barmawijaya, inherited Mataram kingdom, he gave Sunda to Tamperan Barmawijaya. So, during Barmawijaya’s reign Sunda and Galuh was united.
On the contrary to the legend, Ciung Wanara and his mother were not exiled. But aki and nini Balagantrang who was mentioned as the adoptive parents of Ciung Wanara were actually the grandparents of Nyimas Dewi Naganingrum. Balagantrang lived in Geger Sunten village preparing an army to avenge Permana Di Kusuma death.
Upon careful preparation done by Ciung Wanara and Balagantrang, they attacked Galuh kingdom at noon, during the rooster fight gathering. They succeeded in capturing Tamperan Barmawijaya, Dewi Pengrenyep and Hariang Banga inside the arena. But, Ciung Wanara decided to release Banga, since he’s not guilty of murdering his father.
However, Banga returned to the arena to release his parents. Alas, Tamperan Barmawijaya and Dewi Pengrenyep were killed during the chaos.
The last battle was between Ciung Wanara and Banga, both were descendants of Wretikandayun, the first king of Galuh. The battle was grueling. At last, the elder of the royal family, Demunawan, which was the grandson of Wretikandayun [instead of the late king Permana Di Kusuma as per the legend] offered resolution to Ciung Wanara and Banga: to split Sunda Galuh kingdom into two, Ciung Wanara became the king of Galuh and Banga became the king of Sunda. Both kings would wed the two granddaughters of Demunawan to keep peace between them.
At the end of the legend, it was always mentioned that Ciung Wanara and Banga called a truce at Pamali river. Then Ciung Wanara went to the west and became the king in Galuh, while Banga went to the east and later on known as Jaka Sesuruh a.k.a. Raden Wijaya, the founder of Majapahit kingdom. This part of the legend was the biggest distortion to the history. It because in reality Banga was born in 723AD and died in 766AD, while Majapahit was founded on 1293AD by Raden Wijaya, which was 527 years after Banga passed away.
Anyway, since Tamperan Barmawijaya was the king of Sunda and Galuh kingdom, it was true that Ciung Wanara got half of the kingdom, which was Galuh kingdom, and Banga got the other half, which was Sunda kingdom.