Ribéry earned his first cap with the senior team in a 1–0 victory over Mexico on 27 May 2006 appearing as a substitute in the 74th minute for striker David Trezeguet.[198] His solid performances in the friendly matches ahead of the 2006 FIFA World Cup led to his inclusion in the team for the competition.