Ibn Batuta, the famous Moroccan traveler and scholar, arrived in India in 1333 AD and spent several years there, serving in various capacities, including as Qazi (judge) in Delhi, under the Sultan of Delhi, Mohammad Bin Tughlak (reigned 1325-1351 AD).