The Cornwallis Code was compiled in 1793 under Lord Cornwallis, introducing comprehensive judicial and administrative reforms. This code established principles of separation of powers and rule of law in British India. The other dates are incorrect - 1666 and 1646 are too early, while 1853 and 1831 are later.