Bristol City defender James Wilson has signed a new contract to keep him at Ashton Gate until the summer of 2014.
The Wales Under-21 international had struggled with injury before this season and he had made just five appearances for the club.
But he has broken into the first-team this term and has played 10 games for the Championship side.
The 22-year-old told the club website: "I've worked very hard for the new contract so I'm very pleased."
He continued: "It's down to hard work. There were times when I didn't think I would play again, but hard work and persistence has paid off.
"The support I've had from everyone at the club and at home has helped me immensely.
"I just hope to play as many games as possible and help the team up the table."
Wilson came up through the club's academy under the guidance of former City boss Keith Millen, who left earlier this week with the club sat bottom of the Championship.
He added: "I'm gutted that the manager has gone because I worked with him in the academy for many years."
"He's given me every chance I've ever had at the club."