MINNEAPOLIS — The Minnesota Vikings signed quarterback Kyler Murray on Thursday, after focusing their latest search on the No. 1 pick from the 2019 NFL draft who was just released by the Arizona Cardinals.

Murray, 28, visited Vikings headquarters before agreeing to join them on a reported one-year deal, one day after the Cardinals cut him despite owing him $36.8 million in guaranteed salary for this season.

The Vikings didn’t have many other options this year for challenging — or replacing — J.J. McCarthy, their 2024 first-round draft pick whose injuries and inconsistency have raised the question of how long they can afford to wait for him to develop.

Murray, despite being sidetracked by recent injuries and dogged by questions about his work ethic, has two Pro Bowl selections, a 67% career completion percentage — and a bonus of 3,193 rushing yards with 32 touchdowns.

After winning the Heisman Trophy at Oklahoma, Murray was voted the NFL Offensive Rookie of the Year and appeared to have the Cardinals on the upswing. He produced multiple electrifying highlights such as the “Hail Murray” in 2020, when he connected with DeAndre Hopkins for a game-winning touchdown pass against the Buffalo Bills on the game’s final play. Murray passed for 400 yards in a Week 2 win over the Vikings in 2021, when the Cardinals started 10-2 before finishing 11-6.