Joe Moorhead is going to extend his stay in Starkville by a few years.

Tuesday, Bruce Feldman of The Athletic reported that Moorhead and Mississippi State have agreed to a four-year contract extension to remain the head coach of the Bulldogs. The new deal will run through the 2022 season with an average salary of $3.2 million per year.

Moorhead just concluded his first season at Mississippi State, leading the Bulldogs to an 8-5 record and an appearance in the Outback Bowl.

The 2019 season will mark the sixth year Moorhead has spent as a head coach, as he was the leader of Fordham (FCS) from 2012-15. There, he led the Rams to a 38-13 record and earned a trip to the FCS playoffs three times in four seasons.

Between stints as a head coach, Moorhead spent the 2016 and 2017 seasons in Happy Valley as the offensive coordinator at Penn State. He engineered an explosive offense with the Nittany Lions, helping the program win a B1G title in 2016 and reach double-digit win totals in back-to-back seasons.

Recently, Moorhead landed a commitment from former Penn State quarterback Tommy Stevens, who he coached in State College. The dual-threat quarterback is expected to compete for the starting job at Mississippi State immediately.