Pharaoh predates it for some thousand years.
Maximinus Daza (the eastern Roman emperor during the Tetrarchy) was the last holder of the title Paraoh, and I think he reigned from Nicomedia, in Anatolia.
It’s funny that Pharaoh died out with the rise of christianity, but Pontifex lived on.