 After a series of military confrontations and political manoeuvres, Muhammad was able to secure control of Mecca and allegiance of the Quraysh in 629.In the time remaining until his death in 632, tribal chiefs across the peninsula entered into various agreements with him, some under terms of alliance, others acknowledging his prophethood and agreeing to follow Islamic practices, including paying the alms levy to his government, which consisted of a number of deputies, an army of believers, and a public treasury.After Muhammad died, a series of four Caliphs governed the Islamic state