Gareth Ainsworth said he has a long term plan to see through to the end after signing a new contract to remain as Wycombe Wanderers manager.

The Blues boss penned a new deal ahead of kick off in this afternoon's top of the League Two table clash against Luton Town.

The length of the contract has not been made public by the club, who have described it simply as 'long term'.

Ainsworth said: "It's a deal that marries up with the long term plan we've got here. I want to be part of what the chairman wants to achieve here and get Wycombe Wanderers back as a good business financially first of all, as a competitive League Two team and ultimately to be competing in League One."

The 41-year-old originally took caretaker charge of the club in September 2012 following the sacking of Gary Waddock and was later appointed player/manager on a full time basis until the end of that season.

After guiding Blues to safety in that first campaign he was offered a new two year contract, but the club struggled last year and avoided relegation to the Conference on goal difference on a dramatic final day.

Since then Ainsworth - who retired as a player at the end of that first season - has transformed their fortunes and put together a squad that this morning sat top of League Two after 21 games, with today's 1-1 draw against Luton dropping them down to second on goal difference behind their next opponents Shrewsbury Town.

Ainsworth said he wanted to reward the club's loyalty for sticking by him when fan pressure increased during a barren winless run last year, and to prove to the doubters who tipped Wanderers to fall away that it's no fluke they're riding high in the table.

He said: "I'm enjoying life here. Last season, the loyalty Wycombe showed to me won't be forgotten.

"Sometimes it's not about the big contracts you can get elsewhere, or looking to move on all the time. If you're happy somewhere and you can see a future, and see a good plan in place - I want to be part of that.

"It's something I was happy to do. My contract was up at the end of the season. You're always thinking about what might happen but I think the stability was nice, not just for me but the players as well.

"What we've put in place, hopefully it's not just a flash in the pan. It's something I can work with, something we can evolve.

"It's very early stages in the plan. The club was in some state last year, it really was, and I think to turn that round on and off the pitch is going to be a big effort - but I want to be part of it. I'll commit to working hard to do that."

Club chairman Andrew Howard said: “Gareth is without doubt one of the most talented young managers around. We have a plan going forward and I feel he’s the best man for the job.

“He has earned the respect of everyone at the club and deserves the opportunity to lead this club in the coming seasons.”