Portugal–Spain relations of Good Hope. An expedition headed by Vasco da Gama was sent on a diplomatic and trade mission to India. He followed the route of Dias until he reached Malindi (Kenya) in East Africa. Da Gama bombarded the town and took Indian hostages. Portugal was able to establish a commercial post in Cochin, a port southwest of India. In 1509, another Portuguese explorer, Diogo Lopes de Sequeira, successfully reached Malacca, an important trade center in Southeast Asia. Spain came into the scene much later. After completely defeating the last Moorish (Muslim) stronghold on the Iberian peninsula, King Ferdinand and Queen
Transfer of the Portuguese Court to Brazil immediately opened the ports of Brazil to foreign shipping and turned the colonial capital into the seat of government." In 1807, at the outset of the Peninsular War, Napoleonic forces invaded Portugal due to the Portuguese alliance with Great Britain. The prince regent of Portugal at the time, John VI, had formally governed the country on behalf of Maria I of Portugal since 1799. Anticipating the invasion of Napoleon's army, John VI ordered the transfer of the Portuguese royal court to Brazil before he could be deposed. Setting sail for Brazil on November 29, the royal party navigated under the