Input (grade 10): After India gained its independence in 1947, the city became the capital of Madras State, renamed the state of Tamil Nadu in 1969.
Output (grade 10): Chennai became the capital of Madras state the India became independent in 1947.