Elections to the Uttar Pradesh Legislative Assembly were held in 2002. Following a spell of 56 days of President’s Rule from 3 March to 2 May 2002, Mayawati became Chief Minister on 3 May 2002 for the third time after the BJP extended support to the BSP. BJP state president Kalraj Mishra resigned, and was replaced by Vinay Katiyar, who thought up slogans like "Haathi nahin Ganesh hai, Brahma Vishnu Mahesh hai" to defend the alliance. But the problems kept mounting, and Mayawati resigned in August 2003.