Delhi is an ancient centre of Jainism, home to over 165 Jain temples. Delhi has a large population of Jains spread all over the city. It has had continued presence of a Jain community throughout its history, and it is still a major Jain centre. Rajput period In Delhi, during the Tomara dynasty, the Jain poet Vibudh Shridhar wrote the Apabhramsa work Pasanah Chariu "The Conduct of Parshva" in VS 1189 with the support of a Jain merchant prince, Nattal Sahu. This book provides the very first account of the city of Delhi and the first mention of the Agrawal community. Agrawals continue to be the major business community in and around Delhi. Vibudh Shridhar is the first known Agrawal author. His Pasanah Chariu provides the first reference to the Agrawal community and the first historical reference to the legend of the origin of the name Dilli for Delhi. हरियाणए देसे असंखगाम, गामियण जणि अणवरथ काम|परचक्क विहट्टणु सिरिसंघट्टणु, जो सुरव इणा परिगणियं| रिउ रुहिरावट्टणु बिउलु पवट्टणु, ढिल्ली नामेण जि भणियं|Hariyāṇaē dēsē asaṅkhagāma, gāmiyaṇa jaṇi aṇavaratha kāma. Paracakka vihaṭṭaṇu sirisaṅghaṭṭaṇu, jō surava iṇā parigaṇiyaṁ. Riu ruhirāvaṭṭaṇu biulu pavaṭṭaṇu, ḍhillī nāmēṇa ji bhaṇiyaṁ|There are countless villages in Haryana country. The villagers there work hard. They don't accept domination of others, and are experts in making the blood of their enemies flow. Indra himself praises this country. The capital of this country is ḍhillī. जहिं असिवर तोडिय रिउ कवालु, णरणाहु पसिद्धउ अणंगवालु || वलभर कम्पाविउ णायरायु, माणिणियण मणसंजनीय ||Jahiṁ asivara tōḍiya riu kavālu, ṇaraṇāhu pasiddha'u aṇaṅgavālu || valabhara kampāviu ṇāyarāyu, māṇiṇiyaṇa maṇasan̄janīya."The ruler Anangapala is famous, he can slay his enemies with his sword. The weight caused the Nagaraja to shake." Manidhari Jinchandra Suri visited Delhi (then often called Yoginipur) during the rule of the Tomara king Madanpal. He died in Samvat 1223. His samadhi is now known as the Mehrauli Dada Bari. Khalji period Alauddin Khalji recruited Thakkar Pheru a Shrimal Jain from Kannana in Haryana as a treasurer. He was an expert in coins, metals, and gems. For the benefit of his son Hemapal, he wrote several books on related subjects including Dravya Prariksha on metals and various coins; and Ratna Pariksha on various precious gems stones. He was continuously employed until the rule of Ghiasuddin Tughluq. Tughlaq period Delhi was the location where the Digambara Bhattaraka institution was initiated according to some authors. Bhaṭṭāraka Prabhachandra, who was the disciple of