Even after a person reaches the age of majority, there may be other age-based rules that they still have to follow, such as the right to stand for office in elections or become a judge. For example, the youngest a person is allowed to purchase alcohol is 21 in all U.S. states even though the age of majority is 18 in most states. The age of majority in the Republic of Ireland is 18, but a person must be over 21 years old to stand for election.