Ibn Battuta, the Moroccan traveler, visited India during Muhammad bin Tughluq's reign (1325-1351). He stayed in India for several years and served as a qazi (judge) under the Sultan. Fa-Hien visited during the Gupta period, Hiuen Tsang during Harsha's reign, and I-Tsing came later in the 7th century.