Delhi victoriously on 6 June 1414. Ibn Battuta's memoir on Tughlaq dynasty Ibn Battuta, the Moroccan Muslim traveller, left extensive notes on Tughlaq dynasty in his travel memoirs. Ibn Battuta arrived in India through the mountains of Afghanistan, in 1334, at the height of Tughlaq dynasty's geographic empire. On his way, he learnt that Sultan Muhammad Tughluq liked gifts from his visitors, and gave to his visitors gifts of far greater value in return. Ibn Battuta met Muhammad bin Tughluq, presenting him with gifts of arrows, camels, thirty horses, slaves and other goods. Muhammad bin Tughlaq responded by giving Ibn Battuta with a welcoming gift of 2,000 silver dinars, a furnished house and the job of a judge with an annual salary of 5,000 silver dinars that Ibn Battuta had the right to keep by collecting taxes from two and a half Hindu villages near Delhi. In his memoirs about Tughlaq dynasty, Ibn Batutta recorded the history of Qutb complex which included Quwat al-Islam Mosque and the Qutb Minar. He noted the seven-year famine from 1335 AD, which killed thousands upon thousands of people near Delhi, while the Sultan was busy attacking rebellions. He was tough both against non-Muslims and Muslims. For example, In Tughlaq dynasty, the punishments were extended even to Muslim religious figures who were suspected rebellion. For example, Ibn Battuta mentions Sheikh Shinab al-Din, who was imprisoned and tortured as follows: Ibn Batutta wrote that Sultan's officials demanded bribes from him while he was in Delhi, as well as deducted 10% of any sums that Sultan gave to him. Towards the end of his stay in Tughluq dynasty court, Ibn Battuta came under suspicion for his friendship with a Sufi Muslim holy man. Both Ibn Battuta and the Sufi Muslim were arrested. While Ibn Battuta was allowed to leave India, the Sufi Muslim was killed as follows according to Ibn Battuta during the period he was under arrest: Slavery under Tughlaq dynasty Each military campaign and raid on non-Muslim kingdoms yielded loot and seizure of slaves. Additionally, the Sultans patronized a market () for trade of both foreign and Indian slaves. This market flourished under the reign of all Sultans of Tughlaq dynasty, particularly Ghiyasuddin Tughlaq, Muhammad Tughlaq and Firoz Tughlaq. Ibn Battuta's memoir records that he fathered a child each with two slave girls, one from Greece and one he purchased during his stay in Delhi