ruler Abbas II of Persia, who recaptured it in 1649. The Mughal armies were unable to recapture it despite repeated sieges during the Mughal–Safavid War. Shah Jahan also expanded the Mughal Empire to the west beyond the Khyber Pass to Ghazna and Kandahar. Military Campaign in Central Asia Shah Jahan launched an invasion of Central Asia in 1646-1647. Relations with the Ottoman Empire Shah Jahan sent an embassy to the Ottoman court in 1637. Led by Mir Zarif, it reached Sultan Murad IV the following year, while he was encamped in Baghdad. Zarif presented him with fine gifts and a letter which encouraged an alliance against Safavid Persia. The Sultan sent a return embassy led by Arsalan Agha. Shah Jahan received the ambassador in June 1640. They exchanged lavish presents, but Shah Jahan was displeased with Sultan Murad's return letter, the tone of which he found discourteous. Sultan Murad's successor, Sultan Ibrahim, sent Shah Jahan another letter encouraging him to wage war against the Persians, but there is no record of a reply. War with Portuguese Shah Jahan gave orders in 1631 to Qasim Khan, the Mughal viceroy of Bengal, to drive out the Portuguese from their trading post at Port Hoogly. The post was heavily armed with cannons, battleships, fortified walls, and other instruments of war. The Portuguese were accused of trafficking by high Mughal officials and due to commercial competition the Mughal-controlled port of Saptagram began to slump. Shah Jahan was particularly outraged by the activities of Jesuits in that region, notably when they were accused of abducting peasants. On 25 September 1632, the Mughal Army raised imperial banners and gained control over the Bandel region, and the garrison was punished. On 23 December 1635, Shah Jahan issued a farman ordering the Agra Church to be demolished. The Church was occupied by the Portuguese Jesuits. However the Emperor allowed the Jesuits to conduct their religious ceremonies in privacy. He also banned the Jesuits in preaching their religion and making converts from both Hindus and Muslims. Indian Ocean fleet By the reign of Shah Jahan the navy of the Mughal Empire was based at Kozhikode, ready to secure the Indian Ocean trade that was vital to the economy of India. Ministers Shah Jahan's treasurer was Sheikh Farid, who founded the city of Faridabad. Revolts against Shah Jahan The Kolis of Gujarat were most rebellious under the rule of Shah