LOS ANGELES — Defensive lineman Aaron Donald has announced his retirement after a standout 10-year career with the Los Angeles Rams.

The three-time AP NFL Defensive Player of the Year, who began his football career at Penn Hills and went on to dominate at Pitt, made his surprising announcement on social media Friday.

The 32-year-old Donald spent his entire career with the Rams, who drafted him in the first round in 2014 out of Pitt. The Penn Hills native was selected for 10 Pro Bowls and eight All-Pro first teams, and he won the award as the league’s top defensive player in 2017, 2018 and 2020.

“Throughout my career, I have given my everything to football both mentally and physically — 365 days a year was dedicated to becoming the best possible player I could be,” Donald said in a statement. “I respected this game like no other, and I’m blessed to be able to conclude my NFL career with the same franchise that drafted me. Not many people get drafted to a team, win a world championship with that team and retire with that team. I do not, and will not, take that for granted.”

Although smaller than many defensive tackles, Donald used his extraordinary athleticism and game savvy to wreak havoc on offenses throughout his career. He was the cornerstone of every Rams defense during his tenure, drawing habitual double-teams away from his teammates and still racking up a franchise-record 111 sacks, third in the NFL among active players.

After winning the NFL’s Defensive Rookie of the Year award in 2014, Donald reached the peak of his stardom after the Rams franchise moved from St. Louis back to Los Angeles in 2016. He had a career-high 20 1/2 sacks in 2018 on the way to his first Super Bowl appearance under coach Sean McVay.

He then played a major role in the Rams’ run to a Super Bowl victory three years later, most famously applying the pressure that forced Cincinnati’s Joe Burrow to throw incomplete at midfield on the Bengals’ final play of Los Angeles’ 23-20 victory in Super Bowl 56.

“The great players in our league elevate the people around them, and Aaron has modeled the way for our team as long as I’ve been with the Rams,” McVay said in a statement. “He’s an elite competitor, someone who leads by example in a way that’s authentic to him, and an exceptional teammate who inspires everyone around him to be the best version of themselves.”

Lawrence Taylor and J.J. Watt are the only other players to win the defensive player of the year award three times.

Nothing capsulized Donald’s career at Pitt more than the game at Duke in 2013 when he tackled quarterback Brandon Connette and running back Josh Snead simultaneously — all 415 pounds of them. Weighing 280 pounds at the time, Donald quickly beat the block attempt on the line of scrimmage and reached the Duke players just as Connette was handing off to Snead. He grabbed one with his right arm and the other with his left.

Donald played all four years at Pitt (2010-13) and did not skip the bowl game at the end of his senior year, which has become a common practice among projected first-round draft choices.

In that 30-27 victory against Bowling Green in the Little Caesar’s Pizza Bowl, he recorded two of his 28½ tackles for a loss that season (66 for his career).

Donald left Pitt as one of the most decorated players in school history. During his senior season, he won all four national awards annually given to collegiate linemen and defensive players: the Nagurski, Bednarik, Outland and Lombardi. He also was named defensive player of the year by three outlets and was a unanimous All-American.

When Donald was honored at the end of the season, he was accompanied to an ESPN presentation by Pitt coach Paul Chryst, who put his defensive tackle’s effort in perspective.

“I’ve been fortunate to have been around some really good and special players,” Chryst said. “But that’s pretty unique what just happened. He truly had a focus. He wanted to be great this year.”

Said Donald: “My dad always told me, ‘If you put forth the effort, God will take care of the outcome.’ I’m just speechless. It’s an honor not just for me, but for the University of Pittsburgh.”

After Donald made a million-dollar donation to the football program in 2019, the ground floor of Pitt’s Duratz Athletic Complex practice facility, where the weight, locker and training rooms are located, was renamed the Aaron Donald Football Performance Center.

At the age of 27 at the time, he became the youngest seven-figure donor in the history of the university. His gift also was the largest for a football letterman.

At Penn Hills, Donald was a two-time first-team all-state player and a Tribune-Review Terrific 25 all-star as a senior in 2009, when he recorded 63 tackles, 15 for a loss, and 11 sacks. He helped Penn Hills to the WPIAL playoffs in all three years as a starter.

Donald was slated to make more than $34 million this season under the terms of a contract that was renegotiated nearly two years ago. Although Donald reportedly flirted with retirement for the past two seasons in private, the Rams and Donald hadn’t publicly acknowledged his departure was a real possibility.

But over the past two months, Super Bowl-winning defensive coordinator Raheem Morris left for the Atlanta Falcons’ head coaching job, and defensive line coach Eric Henderson left for a similar job at Southern Cal. Henderson and Donald are close friends.

“We are so grateful for Aaron’s dedication to greatness and for leading our franchise on and off the field for the past decade,” Rams owner Stan Kroenke said. “He has left his mark on generations of football fans and his accomplishments, coupled with his work ethic and passion, continue to inspire his teammates, coaches and athletes across the globe. It is a privilege to have witnessed one of the greatest players of all time, and we are proud that Aaron Donald will forever be part of NFL history as a member of the Rams.”

Donald had 543 career tackles, including 176 tackles for loss, and 24 forced fumbles. He had 34 tackles and six sacks in his 11 career postseason games.

Donald also was incredibly durable, missing only six games because of injury in his 10-year career — all of them late in the 2022 season when the Rams were out of playoff contention.

Only one player is now left on the Rams’ roster who also played in St. Louis: Rob Havenstein, who is still the starting right tackle.

Jerry DiPaola contributed.