Swat

History of Swat State: The Walis and Their Legacy

The history of Swat State from the Akhund of Swat to the last Wali, its 1969 merger into Pakistan, and the palace, museum and college you can still see.

By Explore Pakistan · Published 25 September 2026 · 7 min read

Swat
Photo: Bilalzahid12345 · CC BY-SA 4.0 · Wikimedia Commons

The history of Swat State runs from 1849, when a tribal jirga chose its first ruler under the spiritual authority of the Akhund of Swat, to 28 July 1969, when it was merged fully into Pakistan. In between it collapsed into decades of rivalry among local khans, was refounded in 1917 by the Akhund's grandson Miangul Abdul Wadud, and was ruled from 1949 by his son Miangul Jahan Zeb, the last Wali, whose schools, college, roads and museum still shape the valley.

This guide traces that history in order, then points to the buildings in Swat today, from the White Palace at Marghazar to the Swat Museum in Saidu Sharif, that were built during the Walis' rule.

At a glance
First rulerSyed Akbar Shah, elected 1849 under the Akhund of Swat
Re-established1915 to 1917, under Abdul Jabbar Shah and then Miangul Abdul Wadud
Recognised by Britain1926, when Wadud became "Wali of Swat"
Acceded to Pakistan3 November 1947, keeping its own administration
Last rulerMiangul Jahan Zeb, 12 December 1949 to 28 July 1969
Capital and areaSaidu Sharif; about 7,600 square kilometres
Buildings to seeWhite Palace (Marghazar), Swat Museum and Jahanzeb College (Saidu Sharif)

Weather now in Mingora, Swat 984 m

Live weather loads here.

Forecast from MET Norway (CC BY 4.0), updated every 30 minutes. Mountain weather changes fast: check again before you set off.

A timeline of Swat State

YearEvent
1794Abdul Ghaffur, later the Akhund of Swat, born at Jabri in Matta, upper Swat
1849A jirga elects Syed Akbar Shah, a descendant of Pir Baba, as ruler
1857Akbar Shah dies; the Akhund's authority holds the valley together
1863Swat and Yusufzai forces under the Akhund fight the British in the Ambela campaign
1876 or 1877The Akhund dies at Saidu Sharif; decades of rivalry follow
1915Elders appoint Syed Abdul Jabbar Shah as ruler
1917Jabbar Shah is deposed; the jirga elects Miangul Abdul Wadud
1926The British recognise Swat as a princely state and Wadud as Wali
1941The White Palace at Marghazar is completed
1947Swat accedes to Pakistan on 3 November
1949Wadud's reign ends on 12 December; Jahan Zeb succeeds
1952Jahanzeb College is founded
1955 to 1959Italian archaeologists arrive; excavation of Butkara begins; the Swat Museum is founded
1969Swat, Dir and Chitral are merged into Pakistan on 28 July

The Akhund of Swat

Swat's princely history begins with Abdul Ghaffur, known as Saidu Baba or the Akhund of Swat, a religious scholar born in 1794 at Jabri in Matta. His standing rested on religious prestige rather than a dynasty: in 1863 he led Yusufzai and other forces against the British in the Ambela campaign, and his name travelled far enough for Edward Lear to write a comic poem after his death, "Who, or why, or which, or what, Is the Akond of Swat?"

In 1849 a tribal jirga elected Syed Akbar Shah, a descendant of the Buner saint Pir Baba, as the state's first ruler under the Akhund's spiritual authority. After Akbar Shah died in 1857, the Akhund's authority held the valley together until his own death at Saidu Sharif in 1876 or 1877. He is buried there; the town takes its name from him. After his death Swat fell into decades of fragmented rule among local khans.

Barikot Swat
Photo: Junaidglg · CC0 · Wikimedia Commons

Miangul Abdul Wadud: refounding the state

Swat was reconstituted as a unified state in 1915, when tribal elders appointed Syed Abdul Jabbar Shah. He was deposed two years later, and in 1917 the jirga elected Miangul Abdul Wadud, a grandson of the Akhund. The rulers used the title Amir-e-Shariyat, were known as Badshah from 1918, and took the title Wali in 1926, when the British formally recognised Swat as a princely state.

Wadud spent the following decades bringing the valley's tribes under central control and building the institutions of a working state. Swat acceded to Pakistan on 3 November 1947 as an autonomous princely state, keeping its own internal administration. His reign ended on 12 December 1949, when his son Jahan Zeb succeeded him. It was Wadud who built the White Palace at Marghazar, the family's marble summer residence, completed in 1941.

Miangul Jahan Zeb: the last Wali

Miangul Jahan Zeb, born in Saidu Sharif on 5 June 1908, ruled from December 1949 until the merger in 1969. He is remembered above all for institutions that still serve the valley: a girls' high school in Saidu Sharif, described as the first female educational institution in Swat; Jahanzeb College, founded in 1952 and important across the Malakand division; and hospitals and roads that opened the valley up.

In 1955 he brought an Italian archaeological mission led by Giuseppe Tucci to Swat. From 1956 Domenico Faccenna's team excavated the Butkara stupa near Mingora, generally dated to the 2nd century BCE, and much of the valley's Gandharan heritage came to light in those years. The Swat Museum, which he sponsored, was founded in 1959 to house the Wali's collection and the finds. After the merger his son Miangul Aurangzeb held the title only, and Jahan Zeb died in Saidu Sharif on 14 September 1987.

The end of Swat State

Swat, together with Dir and Chitral, was fully integrated into Pakistan's North-West Frontier Province, now Khyber Pakhtunkhwa, on 28 July 1969, by announcement of the then president, Yahya Khan. The merger ended the Wali's administration and brought Swat under the same courts, police and civil service as the rest of the province.

The change is still argued over in Swat. Some accounts link it to the region's later legal and security troubles, on the grounds that it replaced a system of quick local justice with slower courts. Others point out that the Wali's rule was absolute. Both views are worth knowing when you hear people in Swat talk about "the Wali's time".

What you can still see

  • The White Palace, Marghazar, completed in 1941. Sources disagree on where its white marble came from, Agra or a Jaipur quarry. Queen Elizabeth II and Prince Philip stayed for three days in 1961. It has long been run as a hotel; see our guide to visiting the White Palace.
  • The Swat Museum, Saidu Sharif, on the road between Mingora and Saidu Sharif. Its collection of Gandharan sculpture, reliquaries and seals comes mostly from Butkara and Odigram, and it has an ethnographic gallery of carved Swati furniture, jewellery and embroidery. The old building was badly damaged in the 2005 earthquake; the museum closed in 2007, its contents were moved to Taxila, and a bomb nearby damaged it further in February 2008. A new, earthquake-resistant building opened on 11 December 2014.
  • The Butkara stupa, about a kilometre from the museum, the site that started the Italian excavations.
  • Jahanzeb College in Saidu Sharif, still operating as a college.

Getting there, and why this history matters on a visit

Saidu Sharif is about 238 km by road from central Islamabad (measured with OSRM), and the museum, the Butkara stupa and Jahanzeb College are all within a short drive of each other. Knowing the history turns a visit to the White Palace or the museum from a stop on an itinerary into a look at how the valley came to look the way it does: much of its modern infrastructure traces back to decisions made by two men who ruled it for barely fifty years between them.

Is it safe to visit Swat now?

Pakistani visitors still travel to Saidu Sharif, Mingora and Marghazar, but the security picture worsened in 2026. On 2 August 2026 a suicide bomber attacked the Kabal police station in Swat during a peace rally, killing 17 people (Dawn, Al Jazeera). The UK government's travel advice, updated on 22 September 2026, advises against all travel to Swat. Check current news and local police advice before setting out, and avoid gatherings. If you hold a foreign passport, your government's advice may say not to go, and travelling against it can void your insurance. Our guide on whether Swat is safe for tourists has more.

Frequently asked questions

Who was the first ruler of Swat State?

Syed Akbar Shah, elected by a jirga in 1849 under the spiritual authority of the Akhund of Swat. After his death in 1857, the Akhund's authority held the valley until 1876 or 1877.

Who was the last Wali of Swat?

Miangul Jahan Zeb, who ruled from 12 December 1949 until Swat's merger into Pakistan on 28 July 1969, and died in 1987.

When did Swat State merge with Pakistan?

Swat acceded to Pakistan on 3 November 1947 but kept its own administration. It was fully merged into North-West Frontier Province, now Khyber Pakhtunkhwa, on 28 July 1969, along with Dir and Chitral.

Who built the White Palace in Swat?

Miangul Abdul Wadud, the first Wali, completed it in 1941 as the family's summer residence at Marghazar.

When was the Swat Museum built?

It was founded in 1959 under Jahan Zeb with the Italian mission. After earthquake and bomb damage, a new earthquake-resistant building opened on 11 December 2014.

Is the Wali family still connected to Swat?

The Miangul family remains prominent in Pakistani public life, but the state ended with the 1969 merger and the family has no formal role in Swat's administration today.

Go with us

Trips that go here

All tour packages

3 days

From Islamabad

Swat and Kalam in 3 days

Malam Jabba on the first afternoon, then up the Swat River to Kalam, the Ushu forest and a jeep ride to Mahodand Lake before the drive home.


Price on request

View itinerary

Keep reading

More from Swat

All Khyber Pakhtunkhwa guides
Saidgai Lake

Swat

Saidgai Lake Swat: Route and Trek

Saidgai Lake sits at about 3,500 m between Swat and Upper Dir. Here are the known trails, rough trek times, the season, what to carry and the security advice.

6 min read

Timeless beauty · Serene waters · Living culture

Want us to plan it for you?

Tell us your dates, your group and where you want to go. A travel expert will shape a route for you within a day.