Monarchy is the answer.
In a monarchy, a ruler holds power usually through inheritance within a royal or noble family, and the heir (often a child or family member) assumes control after the current ruler's reign ends, typically due to death or abdication. This system contrasts with a republic where leaders are elected by the people and not determined by bloodline. Monarchies have existed in various forms throughout history and in different cultures around the world.