More on KentOnline
Ady Pennock has been given the task of managing Gillingham next season.
Pennock took charge for the second half of the 2016/17 campaign, keeping them in League 1 on the final day of the season.
He will be joined at the Gills by former boss Peter Taylor, who returns as director of football.
Pennock has always been determined to get the Gills job full-time, vowing to change the footballing side of things at the club. He also promised to get rid of the bad apples at the club.
He has been outspoken since the end of the season, pointing to a number of off-field issues which made his task last season a difficult one.
More on the Gills
Striker fined for driving without a full licence
Ady's rescue mission saved thousands
Taylor was a regular in the stands at Priestfield last season, after putting any animosity between himself and Scally behind him. Taylor's second spell as manager ended with the sack on New Year's Eve 2014.
Taylor has a good recent track record of signings, bringing the likes of John Egan and Brennan Dickenson to the Gills during his last reign.
A club statement from the Gills said: "Following meetings with chairman Paul Scally this afternoon (Monday), Gillingham Football Club can confirm that Ady Pennock will be continuing as head coach for the 2017/18 Sky Bet League One season.
"Furthermore, we are delighted to announce that Peter Taylor will be returning to the MEMS Priestfield Stadium as our new director of football. He will oversee recruitment and all footballing policy.
"The club will make further announcements in due course."