Answer
Matviyenko's resignation from her governorship occurred in 2011, marking the end of her tenure as the head of the Saint Petersburg administration. This transition paved the way for her appointment as a member of the Federation Council, Russia's upper house of parliament, where she continued to play a significant role in shaping the country's policies.