Roberto Carlos joined Real Madrid in the year 1996 close season, where he was given the number 3 shirt and held the position as the team's first choice left-back from the 1996–97 season until the 2006–07 season. During his 11 seasons with Madrid, he appeared in 584 matches in all competitions, scoring 71 goals. He is Real Madrid's most capped foreign-born player in La Liga with 370 appearances, after breaking the previous record of 329 held by Alfredo Di Stéfano in January 2006. During his Real Madrid career, Roberto Carlos was, alongside Milan and Italy legend Paolo Maldini, considered the greatest left-back in the world. As a high-profile player and one of the most influential members of the team, Roberto Carlos was considered one of Madrid's "Galácticos" (which included Zinedine Zidane, Luís Figo, Ronaldo and David Beckham) during Florentino Pérez's first tenure as club president.