who was the first pope and how was he appointed