Ibn Battuta served as Qazi of Delhi for several years before being sent on a diplomatic mission to China. His travelogue, 'Rihla' (The Journey), provides invaluable information about political, social, and economic conditions in 14th-century India under Muhammad Tughlaq.