Lam became Chief Secretary for Administration under the Leung Chun-ying administration in 2012. From 2013 to 2015 Lam headed the Task Force on Constitutional Development for the 2014 Hong Kong electoral reform and held talks with student and opposition leaders during the widespread protests. In the 2017 Chief Executive selection process, Lam obtained 777 votes from the 1,194-member appointed Election Committee as the Beijing-favoured candidate and became the first female Chief Executive of Hong Kong.