The Manusmriti is an ancient legal text among the many dharmashastras or code of conduct. It was one of the first Sanskrit texts which has been translated during the British rule of India in 1794 , by Sir William Jones and used to formulate the Hindu law by the colonial government.