The original town was swept away by flooding on the Indus River in 1823. The present city was founded by Nawab Sher Muhammad Khan of the Sadduzai clan in 1825, and now stands four miles (6 km) away from the permanent channel of the river, atop a small plateau. Nawab Sadozai took into consideration the opinions of Diwan Lakhi Mal and Tej Bhan Nandwani for the city's reconstruction. Architects were brought in from Punjab, who designed a city where Hindus would live south of the city center and Muslims north of it. Four bazaars were laid in each of the cardinal directions, with all four converging in the town's central Chowgalla. The rebuilt city contained a large bazaar for Afghan traders, and the city prospered from trade via the Gomal Pass. An eight-foot mud wall with nine gates was built around the city during this time as well, some of which such as the Kaneran Wala and Sakki survive until today. All existing buildings date from no earlier than the 19th century.