
The 35-year-old was featuring in his final FIFA World Cup this summer as the Fennecs progressed past the group stages for only the second time in their history as one of the best third-place nations.
However, following a 2-0 defeat to Switzerland, Mahrez announced his decision after the game to bring to an end an illustrious international career which saw him become the second-most capped player for the country as well as notching 40 goals.
Speaking after the game, the ex-Manchester City and Leicester City winger admitted this was his final time appearing on the biggest stage: "it's my last appearance even with the national team. It was my last game."
The poster boy for Algerian football
The French-born forward expressed his desire to represent the North African nation ahead of the 2014 World Cup in Brazil, subsequently earning a call-up to Vahid Halilhodzic's squad despite being alleged by the Algerian media to have paid the manager to be included.
Mahrez only featured in their opening group clash against Belgium as Algeria were knocked out in the round of 16 by eventual winners Germany in extra-time thanks to Mesut Ozil's last-gasp strike.

The Africa Cup of Nations in 2015 was where Mahrez cemented his spot in the Algerian forward line with crucial goals in their run to the quarter-finals.
By the time of the following edition in Gabon two years later, his growing reputation with standout performances for Leicester had established him as a globally-recognised figure, yet they catastrophically bowed out in the group stages.
AFCON glory in 2019
After failing to qualify for the 2018 World Cup, Mahrez was named captain for the 2019 AFCON which proved to be an inspired decision as Algeria clinched the trophy for the first time since 1990. The Manchester City-bound forward famously netted the winner in their semi-final against Nigeria to secure a 2-1 victory.
Their absence from Qatar only compounded disappointing group-stage exits in both the 2021 and 2023 AFCON tournaments.

A final World Cup ride
However, Mahrez ensured he would be sending his nation to North America this summer thanks to topping their group in qualification with the now Al-Ahli forward scoring in a 3-0 victory in Somalia to wrap up a historic campaign.
A 3-0 defeat to one of the favourites Argentina hampered their pre-tournament buzz but a victory over Jordan, where Mahrez registered an assist ensured Algeria still had a fighting chance of qualifying.
It looked like his tournament had sparked into life with a brace in a thrilling 3-3 share of the spoils with Austria, picking up the Superior Player of the Match in the process, to book a round of 32 meeting with Switzerland who topped Group A.

However, the versatile attacker wasn't able to have a fairytale ending to his international story as the Fennecs bowed out with a 2-0 defeat courtesy of Breel Embolo and Dan Ndoye.
Speaking to the media after the game, Mahrez acknowledged how defensive errors cost them in a game in which he simply wasn't afforded the space by the Swiss to dictate play despite delivering a handful of dangerous crosses into the box.
Mahrez has spearheaded one of the most successful periods in Algerian football history and ending his time on a down note overlooks how pivotal he has been to that success.

