Barnsley teenager Paul Digby has signed a contract extension that will keep him at Oakwell until the summer of 2017.
The 18-year-old midfielder made his first-team debut as a 16-year-old at Derby in September 2011 and made three further appearances in the Championship before struggling with a long-term hip problem that kept him sidelined last season.
"I'm obviously delighted and glad to be here for the next four years," Digby told the club's official website.
"Hopefully we can progress as a club.
"Last week, I sat down with my agent and he said that the club wanted to keep me here for the next four years. We discussed various things and obviously I was thrilled.
"I just want to get back in the team and continue playing football. It's such a big deal for a young player.
"To know I'm wanted as part of the club's future plans gives me a massive boost."
The experienced defender, who also had notable spells at Bristol City and Swindon, impressed during pre-season and will have the option to extend his contract for a further 12 months.
The 31-year-old becomes Aidy Boothroyd's sixth summer signing and the Cobblers boss is happy to have a player of his experience at the club.
"He is exactly what we need. He has a presence, he is good size but he is a footballing full-back," said the former Watford boss.
"He knows all about League 2 and what is required. He is a promotion winner in the past and he is a good professional to be coming in to our dressing room.
"He is different to what we have and his arrival is a boost for us."