Muhammad bin Tughluq was renowned as the wealthiest man in the Muslim world. He patronized various scholars, Sufis, qadis, viziers, and other functionaries to consolidate his rule. On the strength of his years of study in Mecca, Ibn Battuta was appointed a qadi, or judge, by the sultan.
Ibn Battuta and his party reached the Indus River, from there he made his way to Delhi and became acquainted with the sultan, Muhammad bin Tughluq.
Ibn Battuta is assaulted because he is the only one who knows where the supplies are and the others are getting restless and losing their patience.
Ibn Battuta continues to negotiate with the Sultan, declaring peace amongst both factions.