in accordance with Quranic verses (such as ) and numerous ahadith on the issue, Khilāfah can only be established by God Himself and is a divine blessing given to those who believe and work righteousness and uphold the unity of God, therefore any movement to establish the Khilāfah centered on human endeavours alone is bound to fail, particularly when the condition of the people diverges from the ‘precepts of prophethood’ and they are as a result disunited, their inability to establish a Khilāfah caused fundamentally by the lack of righteousness in them. Although the khalifa is elected it is believed that God himself directs the hearts of believers towards an individual. Thus the khalifa is designated neither necessarily by right (i.e. the rightful or competent one in the eyes of the people at that time) nor merely by election but primarily by God. According to Ahmadiyya thought, a khalifa need not be the head of a state; rather the Ahmadiyya community emphasises the spiritual and organisational significance of the Khilāfah. It is primarily a religious/spiritual office, with the purpose of upholding, strengthening and spreading Islam and of maintaining the high spiritual and moral standards within the global community established by Muhammad – who was not merely a political leader but primarily a religious leader. If a khalifa does happen to bear governmental authority as a head of state, it is incidental and subsidiary in relation to his overall function as khalifa which is applicable to believers transnationally and not limited to one particular state. Ahmadi Muslims believe that God has assured them that this caliphate will endure to the end of time, depending on their righteousness and faith in God. The Khalifa provides unity, security, moral direction and progress for the community. It is required that the Khalifa carry out his duties through consultation and taking into consideration the views of the members of the Shura (consultative body). However, it is not incumbent upon him to always accept the views and recommendations of the members. The Khalifatul Masih has overall authority for all religious and organisational matters and is bound to decide and act in accordance with the Qur'an and sunnah. Islamic call A number of Islamist political parties and mujahideen called for the restoration of the caliphate by uniting Muslim nations, either through political action (e.g. Hizb ut-Tahrir), or through force (e.g. al-Qaeda). Various Islamist movements gained momentum in