Doug Martin has agreed to and signed a three-year contract extension to remain New Mexico State's head football coach.

Martin and NMSU Chancellor Garrey Carruthers signed the contract extension on Thursday. NMSU athletics director Mario Moccia announced the deal to Aggies players following Thursday's practice at Aggie Memorial Stadium.

"This contract extension is crucial for us to continue to recruit like we have and allows us to sell stability with our coaching staff to the recruits we need to keep moving forward." Martin said in a NMSU press release. "Our entire staff is grateful to Mario Moccia, the Regents, Chancellor Carruthers and the unbelievable support we have had from people in our community and Aggies across the state. Now we all look forward to finishing this season the right way and chase that vision down so that Aggie Football can be a source of Pride for all."

Martin is 12-40 and in his fifth year at New Mexico State. The Aggies are 2-2 on the season entering Saturday's non-conference game at Arkansas.

"I'm very pleased that we were able to do this specifically for the health of the football program," Moccia said. "We know how difficult winning at football at New Mexico State is. The reality is that we have somebody in Doug Martin who wants to be here and who has built it the right way."

Martin's annual salary of $364,044.13 remains the same, although performance incentives and buyout amounts are different than his current deal, which expires on Dec. 31.