In Indian culture, the Agnivanshi are people who claim descent from Agni, the Vedic god of fire. The Agnivanshi lineage (Agnivansha or Agnikula) is one of the lineages into which the Rajput clans, the others being the Suryavanshi (descended from Surya, the sun god) and the Chandravanshi (descended from Chandra, the moon god). According to medieval legends, there are four Agnivanshi clans: Chauhans (Chahamanas), Pratihar (Pratiharas), Parmars (Paramaras) and Solankis (Chaulukyas). Apart from Rajputs, several other Indian communities and dynasties have legends of fire-born ancestry. Alf Hiltebeitel theorises that the fire-lineage legends signify a new class of Kshatriya warriors, as opposed to the earlier warriors who claimed descent from the solar and lunar lineages mentioned in the ancient texts. Among the clans now known as the Rajputs, the legend might have been invented by Padmagupta, a 10th-century court poet of the Paramara dynasty. His Nava-sahasanka-charita is the earliest source claiming an Agnivanshi origin for the Paramaras. He might have been motivated by the fact that the Paramaras were the only royal family in their region without a mythical account of heroic or divine origin. The 16th century Rajput bards might have extended the legend to include other imperial dynasties, in order to foster Rajput unity against Muslims. Among the dynasties that are now called Rajputs, the Paramara kings of Malwa were the first to claim an Agnikula ("fire clan") ancestry. Several inscriptions and literary works composed during the Paramara era mention this legend. The earliest known source to mention this story is the Nava-sahasanka-charita of the Paramara court poet Padmagupta Parimala. The Sanskrit-language epic was composed during the reign of Sindhuraja (ca. 997-1010). Its version of the legend is as follows: Padmagupta's Nava-sahasanka-charita is based on the life of Sindhuraja, but is of little historical value. The legend is not mentioned in earlier Paramara inscriptions (such as the Harsola copper plates) or literary works (such as Halayudha's Mritasanjivani).