Preston North End have confirmed that midfielder Josh Brownhill is leaving Deepdale to join Bristol City.
The 20-year-old will make the switch to Ashton Gate when his PNE contract runs out on June 30.
North End have agreed compensation with the Robins for Brownhill – his age and the fact they had offered him a new contract, meaning they were entitled to it.
A statement released by the Lilywhites said: “Preston North End can confirm that Josh Brownhill has agreed to join Bristol City when his current contract expires on 30th June 2016.
“As Josh is under 24 and we had offered him a new contract, training compensation applies.
“We have agreed the quantum of training compensation with Bristol City and we thank them for the professional way in which they have approached this issue.
“On behalf of everyone at PNE, we would like to thank Josh for his contribution to our first-team success while he was with us.
“We wish Josh every success in his future career.”
Brownhill joined North End as a 15-year-old after he left Manchester United’s academy.
He broke into the first-team when he was 17, scoring on his full debut in a 2-1 win at Gillingham in October 2013.
The midfielder made 38 starts and 26 substitute appearances for Preston, netting six goals.
His last game for PNE was January’s FA Cup tie at Peterborough and the following week, he joined Barnsley on loan in search of regular first-team football.
Brownhill played a key role in Barnsley’s rise up League One and subsequent play-off success, with the Tykes beating Millwall 3-1 at Wembley last Sunday to win promotion to the Championship.
Now Bristol City have moved to secure his services, their head coach Lee Johnson having been in charge at Barnsley when Brownhill first went on loan.
Johnson said: “Josh is a young, hungry, sought-after player who is experienced beyond his years in modern day football, and we’ve beaten off competition from other clubs to get him.
“On a human level, as well as being a good footballer he’s also a fantastic character – one of the nicest guys you could meet – and he’s very determined to do well for Bristol City.”