In the 2016–17 UEFA Champions League quarter-final against Bayern in April, Ronaldo scored both goals in a 2–1 away win which saw him make history by becoming the first player to reach 100 goals in UEFA club competition. In the second leg of the quarter-finals, Ronaldo scored a 'perfect' hat-trick and reached his 100th Champions League goal, becoming the first player to do so as Madrid again defeated Bayern 4–2 after extra-time. On 2 May, Ronaldo scored another hat-trick as Madrid defeated Atlético 3–0 in the Champions League semi-final first leg. On 17 May, Ronaldo overtook Jimmy Greaves as the all-time top scorer in the top five European leagues, scoring twice against Celta de Vigo. He finished the season with 42 goals in all competitions as he helped Madrid to win their first La Liga title since 2012. In the Champions League Final, Ronaldo scored two goals in a 4–1 victory over Juventus to take him to 12 goals for the season, making him the competition's top goalscorer for the fifth straight season (sixth overall), as well as the first player to score in three finals in the Champions League era; the second goal was the 600th of his senior career. Madrid also became the first team to win back-to-back finals in the Champions League era.