In 2013, anticipating the birth of Prince William's first child, the late Queen Elizabeth II passed a law removing male royal primogeniture, the rule by which males took precedence over their older sisters in the royal succession. However, as the new law only applied to people born after October 28, 2011, Princess Anne couldn’t benefit from it and thus remains behind her brothers, Princes Andrew and Edward — as well as their children and grandchildren — in the line of succession.