He went on to become the first choice right-back for the "Seleção", winning the Copa América in 2004 and 2007, and the FIFA Confederations Cup in 2005 and 2009. He appeared in his first FIFA World Cup in 2010 and scored on his tournament debut, a 2–1 win over North Korea.