de Sequeira claiming him unfit for governance, Afonso was sent in custody to St. Angelo Fort in Cannanore. There he remained under what he considered as imprisonment. Governor of Portuguese India, 1509–1515 Afonso was released after three months' confinement, on the arrival at Cannanore of the Marshal of Portugal Fernando Coutinho with a large fleet sent by the king. Coutinho was the most important Portuguese noble to visit India up to that point. He brought an armada of fifteen ships and 3,000 men to defend Afonso's rights, and to take Calicut. On 4 November 1509, Afonso became the second Governor of Portuguese India, a position he would hold until his death. Almeida set off to return to Portugal, but he was killed before he got there in a skirmish with the Khoekhoe. Upon his assuming office, Afonso intended to dominate the Muslim world and control the Spice trade. Initially, King Manuel I and his council in Lisbon tried to distribute the power by outlining three areas of jurisdiction in the Indian Ocean. In 1509, the nobleman Diogo Lopes de Sequeira was sent with a fleet to Southeast Asia, to seek an agreement with Sultan Mahmud Shah of Malacca, but failed and returned to Portugal. To Jorge de Aguiar was given the region between the Cape of Good Hope and Gujarat. He was succeeded by Duarte de Lemos, but left for Cochin and then for Portugal, leaving his fleet to Afonso. Conquest of Goa, 1510 In January 1510, obeying the orders from the king and aware of the absence of the Zamorin, Afonso advanced on Calicut. The attack was initially successful, but unravelled when Marshal Coutinho, infuriated by Albuquerque's success against Calicut and desiring glory for himself, attacked the Zamorin's palace against Albuquerque's advice, and was ambushed. During the retreat, Afonso was badly wounded and was forced to flee to the ships, barely escaping with his life, while Coutinho was killed. Soon after the failed attack, Afonso assembled a fleet of 23 ships and 1200 men. Contemporary reports state that he wanted to fight the Egyptian Mamluk Sultanate fleet in the Red Sea or return to Hormuz. However, he had been informed by Timoji (a privateer in the service of the Hindu Vijayanagara Empire) that it would be easier to fight them in Goa, where they had sheltered after the Battle of Diu, and also of the illness of the Sultan