HOUSTON (AP) — The Houston Texans have filled their biggest need, starting free agency with a splash by snagging Brock Osweiler from Denver.

The quarterback arrived in Houston on Wednesday night after agreeing to a four-year contract reportedly worth $72 million and will be introduced in Houston on Thursday.

The Broncos hoped to keep Osweiler in the wake of Peyton Manning's retirement on Monday.

Instead he's joining the Texans who were looking to upgrade the position after Brian Hoyer's struggles last season, particularly his turnover-filled performance in their wild-card playoff loss to Kansas City.

Osweiler appeared in eight games with seven starts last season for the Super Bowl champion Broncos. He threw for a career-high 1,967 yards and 10 touchdowns with six interceptions last season.