In accordance with tradition, Wijaya's son and successor, Jayanegara, was infamous for his immorality. One among his distasteful functions was his need to choose his half-sisters, Gitarja and Rajadewi, as wives. Because Javanese custom abhorred the apply of half-siblings marrying, the council of royal elders spoke strongly against the king's needs.