In March 2017, when Yogi Adityanath was appointed as the Chief Minister of Uttar Pradesh, he was a Member of Parliament (Lok Sabha) and not a member of the Uttar Pradesh State Legislative Assembly. Similarly, the two Deputy Chief Ministers appointed, Keshav Prasad Maurya and Dinesh Sharma, were also not members of the state legislature at the time of their appointment. They were required to become members within six months, which they did by getting elected to the State Legislative Council.