Answer
McGuinty's resignation in 2012 triggered a by-election in his riding of Ottawa South. Wynne, then the Minister of Education, decided to run for the Liberal leadership to ensure the party's progressive legacy continued. She was successful in winning the leadership race and subsequently became the 25th Premier of Ontario.