By the 13th century, the belief that the spiritual powers of great Sufi saints were attached to their burial sites was widespread in the Muslim world, and so a shrine was built to commemorate the burial site of Bahauddin Zakariya. In keeping with Sufi tradition in
Punjab, the shrine's influence is augmented by smaller shrines spread throughout the region around Multan. These secondary shrines form a
wilayat, or a "spiritual territory" of the primary shrine. As home to the primary shrine, Multan serves as the capital of Bahauddin Zakariya's
wilayat. The shrine's
wilayat is noted to border the spiritual territory of the
Shrine of Baba Farid, based in
Pakpattan. The ancient pre-Islamic
Hindu temple
Prahladpuri Temple dedicated to Lord
Narasimha, the fourth
avatar of Lord
Vishnu is located adjacent to the walls of the shrine. A popular legend holds that the avatar manifested itself here and it is here that the popular Hindu festival of
Holi commenced. ==History==