Dharmasetu was an 8th-century maharaja of Srivijaya. Under his reign, he successfully incorporated Pan Pan, a kingdom located in the north of the Malay Peninsula, into the Srivijayan sphere of influence before 775 AD.
At an old monastery of Nakhon Si Thammarat in modern-day Thailand, there is a stele indicating that Dharmasetu ordered the construction of three sanctuaries dedicated to Bodhisattvas Padmapani, Vajrapani and Buddha in Ligor.: 130–131
The inscription further states that the Dharmasetu was the head of the Sailendra of Java. This is the first instance of relationship known existed between Srivijaya and the Sailendra.: 221–223 Dewi Tara, the daughter of Dharmasetu, later married a member of the Sailendra family by the name of Samaratunga who later assumed the throne of Srivijaya around 792.: 175, 143–145 The relationship between Srivijaya and the Sailendra became intimately close afterwards.
He was succeeded by his son-in-law Sangramadhananjaya, around 782.: 136