When Urdu Language gets official status in subcontinent?

When Urdu Language gets official status in subcontinent?

A. 1831
B. 1837
C. 1833
D. 1834