Complex sentence: The texts and legends of the Agrawal community trace the origin of Agrawals to the legendary Kshatriya king Agrasena of the Sun Dynasty who adopted Vanika dharma for the benefit of his people.
Split into simpler sentences: The texts and legends of the Agrawal community trace the origin of Agrawals to the legendary king Agrasena. The Agrawals claim descent from king Agrasena of the mythological Solar Dynasty who adopted "Vanika" dharma for the benefit of his people.