In the early eighteenth century, Kuwait prospered as a maritime port city and rapidly became the principal commercial center for the transit of goods between Baghdad, India, Muscat, and Arabian Peninsula. By the mid 1700s, Kuwait had established itself as the major trading route from the Persian Gulf to Aleppo. During the Persian siege of Basra in 1775–79, Iraqi merchants took refuge in Kuwait and were partly instrumental in the expansion of Kuwait's boat-building and trading activities. As a result, Kuwait's maritime commerce boomed, as the Indian trade routes with Baghdad, Aleppo, Smyrna and Constantinople were diverted to Kuwait during this time. The East India Company was diverted to Kuwait in 1792. The East India Company secured the sea routes between Kuwait, India and the east coasts of Africa. After the Persians withdrew from Basra in 1779, Kuwait continued to attract trade away from Basra. The flight of many of Basra's leading merchants to Kuwait continued to play a significant role in Basra's commercial stagnation well into the 1850s.