after his dethronement he proclaimed himself caliph and lived in exile until his death