Gopal (c. 750-770 CE) was elected by the local chieftains and people of Gauda to restore order. Nandivarma Pallavamalla's accession also involved elements of popular approval or choice. In contrast, Harshavardhan was a hereditary ruler, and Yashovarman's ascent to power is generally understood through more conventional political-military means rather than a direct public election.