Cornwallis introduced the Cornwallis Code, which among other things, separated the judiciary from the executive and established the principle of meritocracy in appointments to the Civil Services.