Before the 2009 parliamentary elections she forged an alliance with the United Progressive Alliance (UPA) led by Indian National Congress. The alliance won 26 seats. Banerjee joined the central cabinet as the railway minister (second tenure). In the 2010 Municipal Elections in West Bengal, TMC won Kolkata Municipal Corporation by a margin of 62 seats. TMC also won Bidhan Nagar Corporation by a seven-seat margin. In 2011, Banerjee won a sweeping majority and assumed the position of chief minister of the state of West Bengal. Her party ended the 34-year rule of the Left Front.