Hamilton took his first win of the season in Monaco before winning the next race in Canada. Hamilton finished fifth in Baku after struggling with a software issue that limited his engine's ability to harvest energy. The next four rounds saw Hamilton take four consecutive wins for the third time in his career as he reclaimed the lead in the Drivers' standings. The first of which was in Austria, where Hamilton and Rosberg made contact as Hamilton tried to pass his teammate on the final lap. The stewards found Rosberg guilty for causing an avoidable collision and handed him a ten-second penalty. A week later, Hamilton completed a hat-trick of wins at the British Grand Prix, before taking the championship lead in the following race in Hungary, which was extended to 19 points after winning in Germany. Despite having reclaimed the lead from Rosberg, Hamilton remained pessimistic about his title hopes as, with nine races left in the season, he was anticipating grid penalties for exceeding his engine allocation.