In what sense does a caliph succeed the Prophet?

Precedence after the Prophets and the Rightly Guided Caliphate