Sydney (AFP) – Australia’s all-time leading goal-scorer Tim Cahill retired from international football Tuesday, ending an illustrious career that has taken him to four World Cups.

The 38-year-old, who scored 50 international goals in 107 appearances, last played for the Socceroos when he came off the bench for their final group game against Peru at the World Cup in Russia.

“Today’s the day that I’m officially hanging up my boots on my international career with the Socceroos,” Cahill tweeted.

“No words can describe what it has meant to represent my country. Massive thank you to everyone for the support throughout all my years wearing the Australian badge.”

The former Everton striker, one of the finest players to come out of Australia, did not say if he would continue playing club football.

He joined his former club Millwall in the English Championship on a short-term deal in January after quitting Australia’s Melbourne City in a bid to secure more game time before the World Cup.

Cahill, born in Sydney to a Samoan mother, started his international career playing for Western Samoa under-20s and only became a Socceroo in 2004 after an intense lobbying campaign to world body FIFA.

Two years later in Germany, he became the first Australian to net a goal at the World Cup, going to score in two further tournaments in 2010 and 2014.

In 2007, he also became the first Australian to score at an Asian Cup, and he helped the Socceroos win the Asian title for the first time in 2015.

Before his stint at City, Cahill spent 14 years in England with Millwall and top-flight outfit Everton, scoring more than 100 goals, before signing for the New York Red Bulls.

Cahill, known for his prodigious leap and trademark goal celebration, when he uses the corner flag as a punching bag, also played for China’s Shanghai Shenhua and Hangzhou Greentown.