Jill Ellis is going out on top.

Ellis is stepping down as coach of the United States women’s national team after winning a second consecutive World Cup title earlier this month.

Ellis’ contract was set to expire this week and she declined her end of a mutual option to extend the contract through the 2020 Olympics, according to The Equalizer. U.S. Soccer announced her resignation Tuesday afternoon.

Ellis, 52, became one of two coaches in history to win back-to-back World Cup crowns — the first in more than 80 years and the first on the women’s side — as Team USA romped to a title in France. Ellis’ lineup and tactical decisions, questioned at times, proved adept throughout the tournament.

The native of England has coached the U.S. since 2014 in a record 127 games, compiling a stunning record of 102-7-18. Ellis will remain on until October and coach the USWNT on its five-game victory tour, which begins Saturday.

“The opportunity to coach this team and work with these amazing women has been the honor of a lifetime,” Ellis said in a statement. “I want to thank and praise them for their commitment and passion to not only win championships but also raise the profile of this sport globally while being an inspiration to those who will follow them.”

U.S. Soccer said Ellis will spend the next year as an “ambassador” for the federation.

There is no obvious front-runner to replace Ellis. Following next summer’s Olympics in Tokyo, the U.S. squad will be expected to undergo a major transformation as the Megan Rapinoe-Alex Morgan-Carli Lloyd-Becky Sauerbrunn generation is phased out.