A king is a hereditary ruler of a country.