The constitutions of Hindu states evolved over time and were based on political and legal treatises and prevalent social institutions.