“King” Jadwiga of Poland was a woman who was named king of Poland because there were no ruling queens allowed but the rules didn’t specify that the king had to be a male.