Lewis Hamilton has signed a new two-year deal with Mercedes which will see him stay with the team until the end of 2023.
The team announced that the seven-time world champion will remain with them for at least 11 F1 seasons.
"It is hard to believe it's been nearly nine years working with this incredible team and I'm excited we're going to continue our partnership for two more years," Hamilton told the press.
"We've accomplished so much together but we still have a lot to achieve, both on and off the track."
Hamilton added that the team's commitment to increasing diversity has also factored in his decision to stay.
"I'm incredibly proud and grateful of how Mercedes has supported me in my drive to improve diversity and equality in our sport," added Hamilton. "They have held themselves accountable and made important strides in creating a more diverse team and inclusive environment.
"Thank you to all the dedicated and talented individuals at Mercedes whose hard work makes it all possible and the board for their continued trust in me.
"We're entering a new era of car which will be challenging and exciting and I can't wait to see what else we can achieve together."
The news puts an end to speculation about Hamilton's future, though the identity of his teammate for 2022 is yet to be confirmed.