Task: Question Generation
Input (English): Passage: In 1505 the Mamluk Sultan Qansuh al-Ghuri ordered the first expedition against the Portuguese.The fleet was built with timber and weapons from the Ottoman Empire, and crews and shipwrights were recruited throughout the eastern Mediterranean. The expedition, under Amir Husain Al-Kurdi, left Suez in November and travelled by sea to Jidda, where they fortified the city. The fleet then prepared itself to go to Aden. This coincided with the dispatch of the 7th Portuguese India Armada into the Indian Ocean, under Francisco de Almeida. In 1506, another fleet under Afonso de Albuquerque started to raid the coasts of Arabia and the Horn of Africa, after defeating a Muslim fleet. In 1507, a fleet of about 20 Portuguese ships entered the Red Sea and raided Indian shipping there, bringing the Mamluk Indian trade to near collapse. The Portuguese attempted to establish a base at Socotra in 1507 in order to stop the Mamluk trade through the Red Sea, but the island proved too inhospitable and was ineffective in that role, so that the Portuguese left after a few months. In August-September 1507, the Mamluk fleet of about 50 vessels was stationed at Aden, preparing to go to India.
Output (English): How many years did these events span for?