Anquan Boldin and the San Francisco 49ers have agreed on a two-year deal worth $12 million.

Boldin's new contract has $9 million in guaranteed money.

“49er fans, I wanted to be the first to tell you that I’m returning to San Francisco,” Boldin announced on Monday. “Looking forward to joining my teammates, coaching staff and fans to bring back another championship to the Bay Area. Let’s go after our Quest For Six.”

Boldin led the 49ers with 85 catches for 1,179 yards and seven touchdowns.