The Cornwallis Code is a body of legislation enacted in 1793 by the East India Company to improve the governance of its territories in India. The Code was developed under the guidance of Charles, Earl (Lord) Cornwallis, who served as Governor of Bengal from 1786 to 1793. The true effects of the Code were:
1) the collector was to collect the Revenue only
2) the magisterial powers of the collection of revenue were taken away