In July 2017 weeks after Lam sworn in, four pro-democracy legislators Leung Kwok-hung, Yiu Chung-yim, Nathan Law and Lau Siu-lai who were legally challenged for their oath-taking manners by the then Chief Executive Leung Chun-ying and Secretary for Justice Rimsky Yuen were disqualified by the court. The event caused the quick deterioration of the relations between the pro-democracy camp and the government after the strained relations had been improved compared to Lam's predecessor Leung Chun-ying. Lam pledged she would not target more pro-democrats in oath-taking controversy.