traditionally, males came before females in the line of succession. however, the law changed on 26 march 2015, so at present, for people born after 28 october 2011 the succession is decided only by age: older children come before younger children. this system of inheritance is called absolute primogeniture, as opposed to male-preference primogeniture. when someone who is in line to the throne has a child, that child comes after them and their older children, but before anyone else in the line of succession.