Neymar moved past Ronaldo into second place in Brazil’s all-time goalscoring rankings with a hat-trick in a 4-2 World Cup qualifying win in Peru.

Peru’s Andre Carrillo scored his third goal in two games to put the home side ahead after six minutes with a crisp volley from outside the box but Neymar equalised from the spot in the 28th minute after he had been fouled.

Peru went ahead again after 59 minutes when Renato Tapias’ 25-metre shot hit Rodrigo Caio before rolling into the net, only for Richarlison to equalise five minutes later.

Neymar put Brazil ahead with another penalty with seven minutes left and, after Peru’s Carlos Zambrano was sent off, scored his 64th international goal when he stabbed home in injury time to make it 4-2.

Brazil and Argentina top the group after winning both of their opening matches, while Paraguay, who drew with Peru in their opener, are third on four points.