aged nearly 37, Gomes was released from his contract. After retiring, he was appointed director of Benfica's academy at Futebol Campus in Seixal, leaving his position in September 2017. International career Gomes represented Portugal at every level, earning 143 caps all categories comprised and scoring at an excellent rate overall. He helped the under-20s finish third in the 1995 FIFA World Youth Championship by netting four goals in as many games, including two in the third-place game against Spain; the following year he appeared at the 1996 Summer Olympics, helping to a fourth place. Gomes made his senior international debut at 19, in a 1996 friendly against France. He scored his first goal in Portugal's opening match at the UEFA Euro 2000, marking his fourth start with the winner as the side came from two goals down to beat England 3–2. He would finish the competition with four goals as the national team reached the last four, but earned a seven-month international ban after pushing referee Günter Benkö following the semi-final defeat by France, in which he had opened the score; he was selected to the UEFA team of the tournament. With seven goals in only six matches, Gomes helped Portugal qualify for the 2002 FIFA World Cup – this included a four-goal performance in a 7–1 away demolition of Andorra. He would struggle to hold a starting place in the finals in South Korea and Japan, only appearing twice from the bench; on 19 November 2003 he scored his second hat-trick, in only 21 minutes of play against Kuwait. Things went better for Gomes at Euro 2004, where he played each game and, after coming on as a half-time substitute, scored the winning goal against Spain to send the hosts through to the quarter-finals. He was often injured during the nation's 2006 World Cup qualifying campaign, only managing to play four times, with one goal; he found limited time at the final stages and only made two appearances, but managed to find the back of the net with a header against hosts Germany in the third-place playoff, a 1–3 defeat. After the retirement of Pauleta, Gomes was expected to become his successor in the striker role. He played ten matches and scored three times in Euro 2008's qualifying campaign, captained Portugal at the finals and scored against Germany in the quarter-finals, thus becoming the fourth player to score at