She was then married to her stepbrother in order to keep the royal line pure, which was common for Egyptian royalty.