NORMAN, Okla. (AP) Backup quarterback Cody Thomas is leaving Oklahoma's football team to focus on baseball.

The school announced the decision Sunday. Football coach Bob Stoops says the team supports Thomas and hopes for the best for him.

Thomas, a sophomore, played in three games last season, completing one of three passes. As a redshirt freshman in 2014, he played in seven games and made three starts. He completed 30 of 66 passes for 342 yards and two touchdowns and rushed 23 times for 141 yards and one TD.

More from FoxSports

Thomas played on Oklahoma's baseball team in 2014 as an outfielder. He appeared in 14 games, starting one, and had one hit in 12 at-bats.

Baseball coach Pete Hughes says Thomas approached him and asked about trying out for the team. Hughes calls Thomas ''a quality kid and great competitor.''