Peterborough United have agreed a deal to sign Nathaniel Knight-Percival from Wrexham on a free transfer.
Knight-Percival will make the switch to London Road at the end of the season when his current deal expires.
"We have signed Nathaniel on a pre-contract and he will join us at the end of the current season," director of football Barry Fry told the Peterborough Evening Telegraph.
"The manager went to watch Wrexham and Brighton in an FA Cup tie and liked what he saw of Nathaniel."
The 25-year-old, who plays as a full-back, joined Wrexham in 2010 from Histon.