In the 2017 election, the BC Liberals reduced their seat count to 43, one seat short of a majority. On May 29, 2017, after final vote counting had completed, the BC NDP and the BC Green Party agreed to a confidence and supply agreement to ensure a stable minority government. Their combined 44 seats give them an advantage over the BC Liberals' 43 which was sufficient to defeat Clark's government on a confidence vote on June 29, 2017, after which Clark resigned as premier (effective July 18, 2017) and the lieutenant-governor asked NDP leader John Horgan to form a government.