In many cases, the demolished remains, rocks and broken statue pieces of temples destroyed by Delhi sultans were reused to build mosques and other buildings. For example, the Qutb complex in Delhi was built from stones of 27 demolished Hindu and Jain temples by some accounts. Similarly, the Muslim mosque in Khanapur, Maharashtra was built from the looted parts and demolished remains of Hindu temples. Muhammad bin Bakhtiyar Khalji destroyed Buddhist and Hindu libraries and their manuscripts at Nalanda and Odantapuri Universities in 1193 AD at the beginning of the Delhi Sultanate.