Agrasen was a legendary Indian king (Maharaja) of Agroha, a city of traders. The Agrawal and Agrahari communities claim descent from him. He is credited with the establishment of a kingdom of traders in North India named Agroha, and is known for his compassion in refusing to slaughter animals in yajnas. Agrasen was a vysya king of the Solar Dynasty who adopted Vanika dharma for the benefit of his people.Literally, Agrawal means the "children of Agrasen" or the "people of Ag", a city in ancient Kuru Panchala, near Hisar in Haryana region said to be founded by Agrasen. According to Bharatendu Harishchandra's account, Maharaja Agrasen was a Suryavanshi Kshatriya king, born during the last stages of Dwapar Yuga in the Mahabharat epic era, he was contemporaneous to Lord Krishna. He was a descendant of Suryavanshi King Mandhata. King Mandhata had two sons, Gunadhi and Mohan. Agrasen was the eldest son of the King Vallabh, descendant of Mohan, of Pratapnagar. Agrasen fathered 18 children, from whom the Agrawal gotras came into being.
Agrasen attended the swayamvara of Madhavi, the daughter of the King Nagaraj Kumud. However, Indra, the God of Heaven and also the lord of storms and rainfall, wanted to marry Madhavi, but she chose Agrasen as her husband. A furious Indra decided to take revenge by making sure that Pratapnagar did not receive any rain. As a result, a famine struck Agrasen's kingdom, who then decided to wage a war against Indra. Sage Narada was approached by Indra, who mediated peace between Agrasen and Indra. As per the advice of Rishi Mahrishi Garg, he also married Sundaravati to increase his wealth and health.
Another belief states King Agrasen to be the elder brother of Shoorsen Vrishni and elder grand father of Balarama and Krishna Vrishni of Mahabharata, descendant of King Yayati of Khandavprastha. It was built after several attacks faced from Jarasandha of Magadha Kingdom in Mahabharata period. Agroha was called as Agreya in its original period. King Agrasen made it capital of his state, a city in ancient Kuru Panchala, while his younger bother Shoorsen including Balarama and Shri Krishna decided to stay at Dvaraka. The Government of India issued a postage stamp in honour of Maharaja Agresen in 1976