Gillingham have ended a six-week search for a new manager by naming Mark Stimson as the new boss at the Priestfield.
Stimson had resigned as manager of Blue Square Premier side Stevenage Borough last month after being linked with several vacancies at Football League clubs.
But the 39-year-old has agreed a three-and-a-half year contract to replace Ronnie Jepson in the hot-seat at the Kent club.
The Gills are currently in 18th place in the League One table.
"It's a challenging position and one I'm very much looking forward to," Stimson told the club's official website.
"I did pretty well at Grays and then Stevenage - this is a step in the right direction for me."
Gills chairman Paul Scally added: "It's taken a while coming but we've had to be patient because Mark hasn't been available until the last 48 hours for contractual reasons.
"I think he will be a great manager for Gillingham. He has impressed me hugely and will bring a whole different type of football to the club.
"We want the team to play well, score some goals and win football matches."