Ronaldo writes history