What is primogeniture and what impact did it have?