In the twelfth, thirteenth and fourteenth centuries seven remarkable men lived in Bukhara and the surrounding Bukhara Oasis. These men were known as the Khwajagan, or Masters of Wisdom. The Seven Khwajagan are: Abd al-Khaliq al-Ghujdawani (1103–1179); Arif ar-Riwakri (1136-1239); Mahmud al-Injir al-Faghnawi (d.1317);Ali ar-Ramitani (d.1315/1321); Muhammad Baba as-Sammasi (d.1354); Sayyid Amir Kulal (1287?–d.1370); Bahauddin Shah Naqshband (1318–1388?)
The Khwajagan remain to this day revered as the Seven Saints of Bukhara, and their mausoleum complexes continue to be visited by pilgrims and travelers from all over the world.