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.
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.
हरियाणए देसे असंखगाम, गामियण जणि अणवरथ काम|परचक्क विहट्टणु सिरिसंघट्टणु, जो सुरव इणा परिगणियं|
जहिं असिवर तोडिय रिउ कवालु, णरणाहु पसिद्धउ अणंगवालु || वलभर कम्पाविउ णायरायु, माणिणियण मणसंजनीय ||
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.
Alauddin Khilji 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.