Swansea star Daniel James passes medical at Man United

Swansea midfielder Daniel James. (Nick Potts/PA)

Manchester United have announced they have agreed a deal to sign Swansea winger Daniel James.

The deal is expected to go through on June 11 when the transfer window formally opens. The Welsh winger was at Man United's Aon Training Complex, where he succesfully went through a medical with the Red Devils.

United will pay Swansea just over €20m, including add-ons, for the Wales international.

The 21-year-old is Ole Gunnar Solskjaer's first signing as Man United manager ahead of what will be a key summer of rebuilding for the club. After a strong start as interim boss following the sacking of Jose Mourinho in December, Solskjaer saw his side miss out on Champions League qualification after a bad run of form.

James enjoyed a breakout season for Swansea in the Championship, and has won two international caps with Wales.

"Manchester United is delighted to announce that it has agreed, in principle, terms with both Swansea and Daniel James for his transfer to the club," read a statement on the Premier League side's official website.

"Daniel has successfully completed a medical at the Aon Training Complex. Further details will be communicated once the international transfer window opens next week."

Swansea also announced that all parties had agreed for James to become Ole Gunnar Solskjaer's first signing as United manager.

"Swansea City can confirm the club has agreed transfer terms with Manchester United for winger Daniel James," the club said on their official website.

"The Premier League club has also agreed personal terms with James, 21, following a successful medical at Old Trafford.

"The transfer is expected to be completed when FIFA's international transfer window opens from June 11. The club will make further comment once the transfer has been completed."