Based on custom, Wijaya's son and successor, Jayanegara, was infamous for his immorality. One among his distasteful functions was his need to acquire his 50 percent-sisters, Gitarja and Rajadewi, as wives. Since Javanese custom abhorred the follow of half-siblings marrying, the council of royal elders spoke strongly from the king's wishes. It wasn'