With quarterback Alex Smith’s contract option picked up, potential free agent Shaun Hill re-signed, and Mike Martz student J.T. O’Sullivan in the fold, there was no room for veteran Trent Dilfer.

And so he was cut.

The 49ers announced the move on Thursday. “Trent Dilfer is a true professional in every meaning of the word,” said coach Mike Nolan. “He is one of the most respected players in the league for good reason. Trent has provided great value to our team over the past two years in terms of his leadership, knowledge of the game and play on the field.”

Dilfer was a first-round pick of the Buccaneers in 1994. He also has played for the Ravens, Seahawks, and Browns, and he was Baltimore’s starting quarterback in 2000, which ended with a Super Bowl victory.