After British India was partitioned in 1947 into India and Pakistan, Travancore and Kochi, part of the Union of India were merged on 1 July 1949 to form Travancore-Cochin.[87] On 1 November 1956, the taluk ofKasargod in the South Kanara district of Madras, the Malabar district of Madras, and Travancore-Cochin, without four southern taluks (which joined Tamil Nadu), merged to form the state of Kerala under the States Reorganisation Act.[88][89] A Communist-led government under E. M. S. Namboodiripad resulted from the first elections for the new Kerala Legislative Assembly in 1957.[89] It was one of the earliest elected Communist governments, after Communist success in the 1945 elections in the Republic of San Marino.[90][91][92]