SANTA CLARA — The biggest bonanza in 49ers’ contract history is official, turning Brock Purdy from a 262nd overall draft pick into a $265 million man.

Purdy, having signed his five-year extension through the 2030 season, will speak to reporters today at 1:30 p.m. at Levi’s Stadium

General manager John Lynch took only so much credit for having drafted Purdy with that seventh-round flier.

“Brock is a tremendous leader and a fantastic representative for the 49ers organization, and we are ecstatic to get this deal done,” Lynch said in a statement Tuesday. “When we took him with the last pick in the Draft, we knew he had potential to succeed in this league, but we had no idea how special of a player he would become.

“He has played at an exceptionally high level since taking over the starting job, and we look forward to seeing him continue to lead this team for years to come.”

Purdy, 25, led the 49ers to a Super Bowl and to two NFC Championship games in his first two years, before last season’s team-wide descent into a 6-11, last-place club.

His ascent into a franchise quarterback is a storybook tale that he’ll now build on for years to come with the 49ers.

Of course, it began with him as the last pick of the 2022 draft out of Iowa State, handcuffing him to the “Mr. Irrelevant” title that now is a badge of honor. He went from fourth-string quarterback in training camp to the emergency quarterback once the 2022 season saw Trey Lance then Jimmy Garoppolo get injured.

Purdy’s initial start saw him beat none other than Tom Brady and the Tampa Bay Buccaneers, then his 7-0 jump came to an abrupt halt in the NFC Championship Game at Philadelphia, where he tore the ulnar collateral ligament in his throwing elbow.

Rather than opt for a year-long recovery and Tommy John surgery, Purdy underwent an InternalBrace repair and recovered to throw for a franchise-record 4,280 yards, followed by comeback playoff wins over Detroit and Green Bay before a Super Bowl overtime loss to Kansas City. That season earned him Pro Bowl accolades and a fourth-place finish in AP NFL MVP voting (and sixth-place in NFL Comeback Player of the Year voting).

Purdy is 23-13 in regular-season starts, 4-2 in the playoffs. His fourth season begins Sept. 7 when the 49ers visit the Seattle Seahawks. But first, organized team activities get underway in a week, then mandatory minicamp follows June 9-11 before a month break until camp.

Perhaps one question Purdy can answer Wednesday: Is he interested or does his contract forbids him from playing flag football in the 2028 Olympic Games, after NFL owners and the players’ union on Tuesday approved players inclusion in that event?

Purdy, at last year’s Super Bowl, spoke fondly of his flag-football days as a youth in Queen Creek, Arizona: “I played up until I was about 12, and I think it just helped with the speed of the game. It was a quick game. I think hand-eye coordination, all that kind of stuff really did develop for me throughout my years of playing flag football. Obviously, being able to juke and cut and move in certain ways, just from the way the sport is, helped me for tackle football. I feel like when I started playing tackle football it was a little slower, actually. Because of just the pace of the game compared to flag.”