Portugal coach Fernando Santos has quit, the Portuguese soccer federation announced Thursday, after eight years in the job and five days after Portugal's exit from the in the quarterfinals.
The 68-year-old Santos reached an amicable agreement with the federation to leave two years before his contract ends, a statement said.
The federation named no replacement for Santos and said it was starting its search.
Santos led Portugal to the 2016 European Championship title — the country's first international trophy — and the inaugural UEFA Nations League title in 2019.
Portugal left Qatar after in the World Cup quarterfinals on Saturday.
The Portuguese squad had an enviable depth of talent and won its opening two games in the group stage. In the round of 16, it made a splash by .
But Portugal's early departure from Qatar was widely regarded as an underachievement.
Whoever takes over faces a tricky question of how to manage Cristiano Ronaldo's future role in the team.
The 37-year-old star, who has made five appearances at World Cups over 16 years and is Portugal's record scorer and greatest ever player, was dropped from the starting lineup for the Switzerland game when a new generation of Portuguese players emphatically made their mark.
Against Morocco, he again started on the bench.
Those tactical options caused friction between Santos and his star player, who after the Morocco defeat.
In a later Instagram post, Ronaldo said but he didn't say he would retire from international duty.
Portugal's qualifying campaign for Euro 2024, at least, appears straightforward. In Group J its opponents are Bosnia, Iceland, Slovakia, Liechtenstein and Luxembourg.
Portugal's next international games are in March.