Pope Benedict XVI was the head of the Catholic Church and sovereign of the Vatican City from 2005 until his resignation in 2013.