'There's been a couple of months of talks and I'm delighted to have got it done. We have had a lot of ups and for me to be staying here shows that I believe in this club and I believe a lot can come from it.'

Andy Ambler added.

'We're delighted Danny's committed himself to the club. We were keen to ensure that the foundations Kenny Jackett has put in place would be available for the new manager to build on, and Danny was a key element in that.'