Sir Syed was elevated to the position of chief judge in?

Sir Syed was elevated to the position of chief judge in?

A. 1835
B. 1840
C. 1846
D. 1850