Brock Purdy threw three first-half touchdown passes and the San Francisco 49ers beat the Minnesota Vikings 35-10 on Sunday night at Mexico City’s Estadio Banorte, improving to 9-1 in a matchup of NFC contenders, the Associated Press reported.

Purdy completed 21 of 26 passes for 255 yards with no interceptions. Minnesota entered the game allowing a league-low 69.5 passer rating, according to the AP; Purdy finished at 146.0. Vikings defensive coordinator Brian Flores blitzed him on 20 of his 26 drop backs, the highest rate Purdy has faced in his career, and Purdy went 17 of 19 for 208 yards and two touchdowns against extra pass rushers, ESPN reported. San Francisco had lost both previous meetings against Flores’ defense, averaging 17 points, ESPN said.

Tight end George Kittle caught touchdown passes of 17 and 8 yards, and receiver Mike Evans, returning from Achilles tendinitis, had six catches for 109 yards and a 4-yard score, according to the team and ESPN. With 1:59 left in the first half, safety Ji’Ayir Brown intercepted Kirk Cousins and returned it 18 yards for a touchdown and a 28-10 lead, the Vikings’ website reported. Cornerback Deommodore Lenoir forced and recovered a Justin Jefferson fumble to open the third quarter.

Christian McCaffrey capped a 98-yard drive with a 6-yard touchdown run early in the fourth quarter as the crowd of 85,612 chanted “MVP” for Purdy, according to the AP and ESPN. “Best player in the game right now,” Evans said of his quarterback, ESPN reported.

For Minnesota (7-3), Cousins was 26 of 38 for 235 yards, and Jefferson had seven catches for 86 yards, the Vikings reported. Aaron Jones scored the Vikings’ only touchdown on an 11-yard run. Will Reichard attempted a rare 71-yard fair-catch kick at the end of the first half that fell short.

The victory was Kyle Shanahan’s 100th as a head coach including the postseason, and it improved the 49ers’ all-time record in international regular-season games to 5-1, the team said. San Francisco is tied with Buffalo for the NFL’s best record.

ESPN noted that this is the seventh time the 49ers have started 9-1 or better, and that in each of the previous six they reached at least the NFC Championship Game.