Baker Mayfield was selected as the starting quarterback for the Tampa Bay Buccaneers, ending the competition for Tom Brady’s old job on Tuesday.

The No. 1 overall pick from the 2018 NFL draft prevailed over third-year pro Kyle Trask, a 2021 second-round draft pick who spent the past two seasons as the third-string quarterback behind Brady and Blaine Gabbert.

Mayfield, who’s with his fourth team since July 2022, signed a one-year, $4 million deal with the Bucs after spending the first four seasons of his career with the Cleveland Browns. He made six starts for the Carolina Panthers and four more with the Rams a year ago, going a combined 2-8.

Tampa Bay opens the regular season at Minnesota on Sept. 10.

“There’s a lot that goes into it. I can’t sit up here and give you every detail,” coach Todd Bowles said after practice Tuesday.

Mayfield started and played 1 1/2 quarters of Tampa Bay’s preseason opener, completing eight of nine passes for 63 yards, a touchdown and no interceptions against the Pittsburgh Steelers. The 28-year-old didn’t play last Saturday against the New York Jets, when Trask started and wound up playing most of the game after third-stringer John Wolford was injured.

“We love everything Kyle has done. He’s gotten leaps and bounds better. ... And we’re excited about Baker,” Bowles said. “We like where we’re at right now experience-wise and his understanding the playbook just a little bit better.”

From the day he joined the Bucs and began learning the system installed by first-year offensive coordinator Dave Canales, Mayfield’s experience figured to make him the favorite to replace Brady, who retired after last season.

While Trask has only seen action in one regular-season game, attempting nine passes; Mayfield is 31-38 in 69 starts and thrown for 16,288 yards, 102 touchdowns and 64 interceptions over five seasons.

Titans giving Badgley another chance as kicker >> The Tennessee Titans ended their experiment with a pair of undrafted kickers Tuesday and brought back veteran Michael Badgley after his release by Washington.

“Just trying to find somebody that can help us,” coach Mike Vrabel said of the decision to waive Caleb Shudak and Trey Wolff and bring in Badgley.

Wolff, a rookie from Texas Tech, made the only field goal attempted in the first two exhibitions for the Titans (1-1). Shudak played in one game in 2022 as a rookie and made three of four field goals attempted. The Titans kept Shudak when releasing Randy Bullock in February in a salary cap move.

Packers’ Gary participating in team drills >> Green Bay Packers outside linebacker Rashan Gary is participating in 11-on-11 drills again as he recovers from a torn anterior cruciate ligament.

However he still isn’t saying whether he expects to be ready for the season opener.

“We’ll see,” Gary said Tuesday. “Right now we’re taking it day by day.”

Tuesday marked the first time Gary had joined his teammates in 11-on-11 drills, a major step forward in his recovery. Gary’s 2022 season ended when he tore the ACL in his right knee Nov. 6 during a 15-9 loss at Detroit.