He was replaced as caliph by his cousin, whose powers were strictly limited by secular laws, until that position, too, was abolished in 1924.
The caliph had unlimited powers and was not subject to secular laws.