Manchester United are shelling out £18million for Daniel James - four months after Leeds came within minutes of landing him for just £1.5million on loan.
James began his medical at Carrington on Wednesday and the Wales winger is set to become Ole Gunnar Solskjaer's first signing at Old Trafford.
United are paying Swansea £15million up front for James, plus £3million in add-ons over the course of his contract.
Personal terms have been agreed with James, who is with the Wales squad preparing for their Euro 2020 qualifiers against Croatia on Saturday and Hungary on Tuesday.
James' value has rocketed and Leeds had agreed a £1.5million loan fee on the final day of the January transfer window with a view to a permanent £7million deal if they won promotion.

The then chairman Huw Jenkins refused to sanction the deal at the last minute and was promptly sacked by the club's American owners.
Swansea have driven a much-harder bargain with United and James' impressive form for club and country over the last few months of the season has driven up his value.
He scored four goals, including his stunning solo effort against Brentford in the FA Cup, which went viral on social media.

James, 21, also netted his first Wales strike when he netted the only goal in their Euro 2020 qualifying win over Slovakia in March.
Swansea were also able to use the interest from a variety of clubs, including Newcastle, Everton and Leeds, to force United to meet their asking price.

The South Wales club rejected their initial offer of £10million and United have had to pay nearly double that sum, even though James has just one year left on his Swans deal.
United fans will have mixed feelings about James and although the pacy wide man is recognised as one of the Championship's best prospects, he is not the marquee signing many want.