Ali Mardan Khan occupies a distinctive place in the history of 17th century Punjab. He was at once a soldier, provincial governor, administrator, engineer and patron of architecture. His career, which began in the Safavid Empire and culminated in the highest ranks of the Mughal nobility, illustrates the mobility of Persianate elites across the political frontiers of early-modern Iran and India. Yet his most enduring association with Lahore is neither military nor political. It is hydraulic: the great canal that brought water from the upper Ravi to Lahore and made possible the extraordinary landscape of the Shalimar Gardens.
Ali Mardan Khan was a Kurd of the Zig tribe and the son of Ganj Ali Khan, an important Safavid official under Shah Abbas I. His father’s influence gave him an early entrée into Safavid administration. In 1624, after Ganj Ali Khan’s death, Ali Mardan inherited important responsibilities and became associated with the governorship of Kerman, Sistan and, most importantly, Kandahar.
The political climate changed dramatically after Shah Abbas’s death and the accession of Shah Safi. Ali Mardan’s position at Kandahar became increasingly precarious. His correspondence with the Mughal court began in the early 1630s, and in 1638 he surrendered Kandahar to Shah Jahan. The act was a major strategic gain for the Mughals in their long contest with the Safavids. Shah Jahan rewarded the defector handsomely, providing money, honours and a high mansab. Ali Mardan thus moved almost overnight from being a vulnerable Safavid governor to a favoured Mughal grandee.
His subsequent career was remarkable. He was appointed governor of Kashmir and became associated with the administration of Punjab and Kabul. By 1643 he had attained the extraordinary rank of 7,000 zat and 7,000 sawar and received the title Amir al-Umara, “Lord of the Lords.” His importance, however, cannot be measured simply through mansab or military command. His value to Shah Jahan lay equally in his practical knowledge of engineering, architecture, water management and Persianate urban culture.
Chetan Singh’s study of the 17th century Punjab is useful in understanding this career. Rather than viewing the Mughal administration as an entirely rigid, centrally controlled machine, Singh emphasises its flexibility and its dependence upon officials who accumulated regional experience and moved between offices. Ali Mardan is an especially revealing example: his Persian/Safavid background was transformed into an asset within the Mughal imperial system.
Ali Mardan’s most consequential project in Punjab was the canal generally known as the Shah Nahr—the “Royal Canal”—which brought water from the Ravi towards Lahore. Later colonial sources frequently associate the work with the Hasli or Hansli Canal, and 19th century engineering histories remembered Ali Mardan as the “famous engineer of Shah Jahan.” The terminology and chronology are not entirely consistent in the sources: some later accounts date an Ali Mardan canal to about 1633, while the detailed Mughal-era tradition places the major Shah Nahr project in 1639–40.
The latter chronology fits the contemporary narrative most convincingly. In 1639, Ali Mardan proposed to Shah Jahan that water could be brought from the point where the Ravi emerged from the hills near Rajpur/Madhopur, in the upper Ravi country, to Lahore. Shah Jahan sanctioned an initial Rs100,000 for the undertaking. The objective was larger than supplying a royal garden. The canal was intended to irrigate agricultural land, enrich the gardens around Lahore and increase the city’s water supply.
The engineering challenge was considerable. The first alignment did not deliver sufficient water to Lahore. An additional Rs100,000 was therefore sanctioned. Ali Mardan’s team attempted to improve the channel, but the problem of levels remained. The project was eventually entrusted to Mulla Ala-ul-Mulk Tuni, an expert in water levels and hydraulic engineering. He retained part of the original alignment and altered the remainder, allowing the canal finally to deliver an adequate flow to Lahore.
This detail is important because it prevents Ali Mardan’s achievement from being reduced to the simplistic claim that he single-handedly “built” the entire canal. His principal contribution was the conception, promotion and initial engineering of the project; its successful completion involved other specialists, especially Mulla Ala-ul-Mulk Tuni. The canal was therefore a collaborative Mughal engineering enterprise, albeit one inseparably associated with Ali Mardan’s name.
The canal radically expanded the possibilities of Lahore’s northern and eastern suburbs. Once a dependable water supply had been secured, Shah Jahan ordered the creation of the Shalimar Gardens. The garden was laid out in 1641–42 under the supervision of Khalilullah Khan, with architects and craftsmen executing the imperial design.
The relationship between canal and garden was fundamental. Shalimar was not simply a garden placed beside water; its entire visual and hydraulic experience depended upon controlled water. Three descending terraces, pools, channels, cascades and hundreds of fountains transformed water into architecture. The Shah Nahr supplied the hydraulic system that made this elaborate conception possible. The garden thus represented the union of imperial aesthetics with engineering. Ali Mardan’s achievement consequently belongs to the history of Lahore’s transformation into a city of gardens, not merely to the history of one canal.
The canal also had consequences beyond royal pleasure. Its water encouraged cultivation and the development of gardens and estates along its course. Later, the British irrigation engineers recognised the old Hasli system as the predecessor of the Bari Doab Canal. The 19th century Imperial Gazetteer explicitly remembered the Hasli as Ali Mardan Khan’s work and noted that it eventually became incorporated into the modern irrigation network.
The canal was only one component of Ali Mardan’s architectural career. Under Shah Jahan he participated in projects at Kabul, Peshawar, Kashmir and Lahore. His Iranian-style covered bazaar at Peshawar reportedly impressed Shah Jahan sufficiently to inspire a similar marketplace in Shahjahanabad. In Kashmir, he was associated with Chashme Shahi, while in Lahore his name survives most poignantly in the tomb at Mughalpura.
The tomb, constructed in 1656–57, was apparently intended originally for his mother. Ali Mardan himself was buried there after his death in 1657. Its octagonal design, lofty dome and once-rich decorative programme testify to the status of the man who commissioned it.
In Lahore, however, his legacy is best understood through water. The Shah Nahr connected the Ravi to the city’s gardens, agriculture and expanding suburbs; it supplied the hydraulic infrastructure that allowed Shah Jahan’s vision of Shalimar to become reality. The canal’s subsequent incorporation into the region’s larger irrigation history gave Ali Mardan’s 17th century intervention a longevity far beyond the Mughal court that commissioned it.
Lahore’s Mughal landscape was therefore not created by palaces and gardens alone. It was engineered through water. And behind that transformation stands Ali Mardan Khan—less famous today than the emperor he served, but indispensable to understanding how Shah Jahan’s Lahore became a city of gardens.
Published in Dawn, September 27th, 2026
































