In Ancient Egypt, a Pharaoh was the ruler and head of state who also acted as the religious leader of the people. Most Pharaohs were males, but there were exceptions, such as Hatshepsut, a female ruler of Egypt from 1473 to 1458 BC.
Nowadays, the name Pharaoh is more prevalent among boys. However, both boys and girls could be pharaohs in Ancient Egypt, so feel free to give this name to your little king or queen!