Rotherham United have completed the permanent transfer of on-loan winger Alex Bray from Swansea.
The move, for an undisclosed fee, is subject to Football Association, Football League and Premier League ratification as well as international clearance.
Bray, 21, joined the Millers on loan from the Liberty Stadium in January and has been a regular in the matchday squad, making two substitute appearances so far.
The original deal was a temporary one until the end of the season, but Bray has now agreed terms on a two-year contract until the summer of 2019.