SANTA CLARA — The 49ers’ signings of free-agent wide receivers Mario Manningham and Randy Moss might have generated more buzz, but their best move of the 2012 offseason might have been retaining one of their own.

“Vic Fangio made the comment the other day, ‘The smartest thing we did as an organization was pay Ahmad Brooks and keep him as a 49er,’ ” coach Jim Harbaugh said Friday, referring to his defensive coordinator. “We would all concur with that.”

The 49ers kept Brooks from becoming a free agent by signing him to a six-year, $44.5 million deal in February with $17.5 million guaranteed. The move rewarded Brooks, 28, for his performance in the 2011 season, ﻿his first as a starter with the 49ers after spending his first two seasons with them as a backup and core special teams player.

Brooks started all 16 regular-season games the past two seasons, with seven sacks in 2011 and 6½ this season.

Brooks played a huge role in helping the 49ers advance to the Super Bowl in their victory over the Atlanta Falcons in the NFC Championship game. He batted down a pass on third-and-4 from the 49ers’ 10-yard line, likely preventing a first down with 1:13 remaining in the fourth quarter. The Falcons turned over the ball on downs on the next play, and the 49ers held on for a 28-24 victory.

“It’s flattering,” Brooks said of Harbaugh’s high praise. “For it to be one of their smartest moves, it was one of my smartest moves, as well.

“It wasn’t all about the money to me. I knew that coming back here I would be playing with a great group of guys and playing for a championship. So, it was a smart decision on my part, as well.”

Harbaugh said Brooks is a consummate team player, the kind the organization seeks in building its roster.

Brooks often gets overshadowed by the three other linebackers on the field — Patrick Willis, NaVorro Bowman and Aldon Smith. Yet, he finds a way to stand out time and again, be it against the run, rushing the quarterback or in pass coverage.

“He’s done it with very little fanfare in terms of how he talks about himself,” Harbaugh said. “But he’s been a tireless worker. I go back to the first days of the offseason program. I don’t know if he ever missed a day. He’s been a great contributor, great leader, and a really high performer on the field.”

More in News

Thirty-six people — musicians, artists, students, lovers and friends — lost their lives on Dec. 2, 2016, in the fire that consumed the Oakland warehouse known as the “Ghost Ship.” Here are their stories.

A long-awaited plan to keep the Raiders in Oakland was announced late Friday by city and council officials. It includes a public investment of $350 million, pegged to the value of the Coliseum land and infrastructure improvements.