Mississippi State football coach Joe Moorhead has a little more job security now.

The school announced Tuesday that he has signed a contract extension through the 2022 season that will pay an average base salary of $3.2 million. Moorhead originally signed a four-year deal worth an average of $2.75 million when he was hired following the 2017 season.

Moorhead's new deal is also four years, which is the longest allowed by state law.