Peter Taylor has agreed a two-year contract to remain as Gillingham manager.

The former Leicester, Brighton and Crystal Palace boss is poised to put pen to paper on a deal to keep him at the Priestfield until 2016.

Taylor guided the Gills to a 17th-placed finish this season, six points clear of the relegation zone.

After Saturday's 1-1 draw with Shrewsbury, he made it clear his future needed sorting out quickly.

He said: "I think the club needs a decision straight away - for the size of the club to stay in this division, I think that's what it needs.

"As a club we want to progress, so we need to get that sorted out.

"This season has been a good test for everybody. The players should have all learned something from this season."

Gillingham announced on Sunday that the new contract had been agreed.