Chip Kelly will stay at UCLA for several more years.

The Bruins’ head football coach has signed a contract extension through the 2027 season, the school announced Friday.

UCLA finished the 2022 season with a 9-4 record, earning a berth in the Sun Bowl, where the Bruins lost to Pittsburgh, 37-35.

UCLA finished 21st in the final AP Top 25 and Coaches polls.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

UCLA Bruins head coach Chip Kelly during the first half of the Tony the Tiger Sun Bowl against the Pittsburgh Panthers at Sun Bowl Stadium on December 30, 2022 in El Paso, Texas. (Sam Wasson/Getty Images)

«I am excited about our soccer program under the leadership of Coach Kelly and his talented staff,» UCLA athletic director Martin Jarmond said in a statement. «The soccer program is on an upward trajectory, both on the field and in the classroom. Coach Kelly and his staff have done a great job developing youth, as evidenced by his academic excellence.» .

The multi-year extension means Kelly will earn $6.1 million over the next two seasons before his salary increases to $6.2 million per season in 2025, 2026 and 2027, according to the Los Angeles Times.

ALABAMA’S NICK SABAN NOT SATISFIED WITH THREE POTENTIAL OPPONENTS UNDER SEC’S NEW FORMAT

The Times also reported that if Kelly resigns before the end of the 2023 season, he would have to pay UCLA $3 million.

UCLA Bruins head coach Chip Kelly reacts against the USC Trojans during the second quarter in a game at the Rose Bowl on November 19, 2022 in Pasadena, California.

UCLA Bruins head coach Chip Kelly reacts against the USC Trojans during the second quarter in a game at the Rose Bowl on November 19, 2022 in Pasadena, California. (Harry How/Getty Images)

The Bruins’ offense thrived in 2022 averaging over 500 yards per game.

Running back Zach Charbonnet averaged 135.9 rushing yards, best in the Pac-12 Conference.

UCLA Bruins head coach Chip Kelly scores a 40-32 victory over the Washington Huskies in the Rose Bowl on September 30, 2022 in Pasadena, California.

UCLA Bruins head coach Chip Kelly scores a 40-32 victory over the Washington Huskies in the Rose Bowl on September 30, 2022 in Pasadena, California. (Gina Ferazzi/Los Angeles Times via Getty Images)

Quarterback Dorian Thompson-Robinson set career records for completions and touchdowns. He also had 1,826 rushing yards in his 48 starts at quarterback.

CLICK HERE TO GET THE FOX NEWS APP

The Bruins were also solid on defense, giving up an average of 130.3 rushing yards to opponents per game.

Kelly returned to the college football ranks to coach at UCLA in 2018 after two stints as head coach in the NFL.