Dharmawangsa was the last raja of the Kingdom of Medang from 985-1006 BCE. He succeeded Sri Makutawangsawardhana. Dharmawangsa was the patron of the translator of the Mahabarata text into Old Javanese. It was during this period that the "Caritha Parahyangan" was written in Sundanese, which tells the history of the rajas of Mataram Dharmawangsa conquered several areas, including Bali, and established a colony in West Kalimantan. Wikipedia
The definitive Wikipedia entry for Dharmawangsa. Wikipedia is the biggest multilingual free-content encyclopedia on the Internet. en.wikipedia.org/wiki/Dharmawangsa