Netherlands coach Ronald Koeman resigned Tuesday after his side were eliminated from the World Cup, falling to Morocco in a Round of 32 penalty shootout that marked the Dutch team’s earliest exit in tournament history.

The 63-year-old, in his second spell in charge of the national team after guiding it to the semifinals of the 2024 European Championship, announced his departure in a social media post.

The Netherlands had reached at least the round of 16 in its previous 11 World Cup appearances, including a quarterfinal finish four years ago in Qatar. This year’s tournament expanded to 48 teams, sending 32 into a newly enlarged first round of the knockout stage.

In his announcement, Koeman said he shared a dream of a World Cup that would “make history” and that no one was more disappointed than he was that it did not happen. The Netherlands has reached the World Cup final three times but has never won it.

The loss to Morocco was the third consecutive time the Netherlands has been eliminated from the World Cup in a penalty shootout. The Dutch scored a tournament-high 10 goals in the group stage but managed just one from open play against Morocco in a match that finished 1-1 before the shootout.