SANTA CLARA (CBS SF/AP) — The San Francisco 49ers agreed on a five-year, $27 million contract with Kyle Juszczyk that will make him the highest paid fullback in the NFL.

The deal was confirmed on Sunday night, one day before Juszczyk would be allowed to start talking to other teams before becoming an unrestricted free agent. The person spoke on condition of anonymity because the details haven’t been announced by the team.

READ MORE: Late Night Looters Target GameStop In Emeryville; One Suspect Arrested

The deal was first reported by NFL Network.

“So incredibly thankful to be apart of this organization for 5 more years!” Juszczyk said on his Twitter account. “Thank you Faithful for the continuous support! Looking forward to showing that the juice is always worth the squeeze.”

General manager John Lynch referred to Juszczyk as an “offensive weapon” when originally signing him and the team used him more than a typical fullback.

“Kyle is a unique football player whose versatility, leadership and skillset are a tremendous fit with us,” Lynch said. “He has been integral to the success of our offense the last four seasons and his contributions on the field are just a portion of the value he brings to our team. Kyle has helped to establish a standard for our team on the field, in the locker room and in the community. We couldn’t be prouder to reward him with this well-deserved contract extension. Welcome back Juice!”

Juszczyk’s new contract tops the record he set for fullbacks back in 2017 when he signed a $21 million, four-year deal as one of the first additions made by coach Kyle Shanahan.

READ MORE: Extreme Drought Conditions Expand Into Solano, Contra Costa And Alameda Counties

The Niners coveted Juszczyk’s versatility as a receiver and blocker in Shanahan’s offense and made sure he would stick around for several more years.

General manager John Lynch referred to Juszczyk as an “offensive weapon” when originally signing him and the team used him more than a typical fullback.

The 29-year-old Juszczyk scored a career-high six touchdowns last season with four coming on receptions and two more on runs. He finished the season with 19 catches for 202 yards and 64 yards rushing on 17 carries.

Juszczyk’s use has dropped a bit as the Niners have added more options on offense but he has 102 catches for 1,080 yards and seven TDs to go along with 135 yards on 35 carries with two scores in four seasons in San Francisco.

But his biggest value might come as a blocker in the running game. San Francisco has 306 more runs with two backs in the game the next highest team in the past four seasons and averages an impressive 4.51 yards per carry in those two-back sets thanks in part to Juszczyk.

MORE NEWS: Chabot Space & Science Center Establishes New Partnership With NASA

This agreement leaves one less issue for San Francisco to resolve when free agency begins this week. The Niners are hoping to bring back left tackle Trent Williams after a successful first season with the team and need to rebuild the secondary.