stylistic:style_transfer, linguistic:voice_change, structural:summarization, structural:scholar_edition
Surat before the Mughal Empire

Before the rise of Surat in the 1500s, the nearby town of Rander was the main commercial centre in the area. Rander had a prominent Arab merchant community involved in overseas trade with regions such as Burma, China, Malaya, and Sumatra. In the 1500s, Rander declined due to Portuguese raids. Surat became an important port city around the same time, and some of Rander's merchant population likely moved to Surat for economic opportunity.

Early references to Surat appear by the 10th century, but they shed little light on what type of settlement it was. As Suryapur, it is mentioned along with Bharuch as a place where an army from Anhilwara passed through in 990 en route to attack the ruler of Lata. Suryapur may also be the port called "Surabaya" mentioned by the 10th-century Arabic geographer Istakhri as being four days south of Khambhat and five days north of Sanjan. Other Arabic authors spelled the name as "Subara" or "Sufara". The identification of this place with Surat, though, is uncertain, and in any case these early mentions of Suryapur or Surabaya do not indicate whether it was a sizeable town or just a small hamlet.

Another early mention of Surat is in the 1190s, after Qutb ud-Din Aibak, then a general of Muhammad Ghuri, defeated the Chaulukya king Bhima II in battle. According to the local histories of Bakshi Mian Walad Shah Ahmad and Munshi Ghulam Mohi ud-Din, Aibak went as far south as Rander and Surat. Surat was then ruled by a Hindu chief based at nearby Kamrej. This ruler initially tried to take refuge in a garden at Surat, but then decided that he had no chance of resisting Aibak's forces and offered his submission. Aibak, in turn, confirmed him as ruler of Kamrej.

From 1297, Gujarat was gradually conquered by Allauddin Khilji, the ruler of the principal state in north India at the time, the Delhi Sultanate. The Delhi Sultanate appointed Governors to control Gujarat, but this had to be forcefully imposed, notably in 1347, when Muhammad bin Tughluq sacked Surat, among other cities. Firoz Shah Tughlaq later built a fort at Surat in 1373. According to Bakshi Mian's account, when Zafar Khan was appointed governor of Gujarat in 1391, he appointed his son Masti Khan to govern Rander and Surat, but Bakshi Mian adds that Surat was not very populous at this point.

As control from the Delhi Sultanate waned at the end of the 14th century, pressure grew for an independent Gujarat, culminating in Zafar Khan declaring independence in 1407. Surat was controlled directly by the nobles of the Rajput kingdom of Baglana who fell either under the Gujarat Sultans or the Deccan sultanates. However, following the fall of the Gujarat Sultanate in 1538 it was controlled by more local nobles starting with Chengiz Khan who enjoyed absolute authority over Surat, Broach, Baroda and Champaner. However, in 1637, Aurangzeb fully annexed Baglana into the Mughal Empire.

In 1514, the Portuguese traveler Duarte Barbosa described Surat as an important seaport, frequented by many ships from Malabar and various parts of the world. By 1520, the name of the city had become Surat. It was burned by the Portuguese (1512 and 1530), conquered by the Mughals (1573) and was twice raided by the Maratha king Shivaji (17th century). Mughal Emperor Akbar placed major importance on Gujarat and successfully obtained numerous towns in Gujarat. The Mughals were able to conquer Surat due to his campaigns against Gujarat during his rule. In the 1570s, he launched two major campaigns against Gujarat —one of a much longer duration and one much shorter. The fall of Surat occurred during the former campaign and lasted one month and seventeen days. Akbar implemented large military power during these conquests, fighting many battles. Notably, the conquest of Surat was an important catalyst for overseas trade during the rule of the Mughal Empire as it became the most important port city of that reign and evolved into a bustling trading hub.