The Los Angeles Rams are making sure one of their defensive stalwarts will remain under contract heading into the next decade.

The Rams announced Thursday they have agreed to terms on a four-year contract extension with linebacker Alec Ogletree. The deal is worth $42 million and includes $30 million in guarantees, a source informed of the situation told NFL Network Insider Ian Rapoport.

"Alec has evolved into a true leader of our football team and we are excited to sign him to this extension," Rams general manager Les Snead said in a statement. "His teammates voted him as a captain in back-to-back seasons for a reason -- and it's not only because of his production, but his character and resiliency. We look forward to Alec helping our team emerge as a consistent winner for years to come."