West Ham have completed the signing of Said Benrahma in a deal worth up to £30m, paving the way for Jesse Lingard to join on loan from Manchester United.
The Hammers were due to make Benrahma's loan move from Brentford permanent in the summer but they have finalised the deal early to free up loan space.
Premier League clubs can only have two domestic loan signings; West Ham also have Craig Dawson on loan from Watford.
A deal for Lingard has been agreed in principle between the two clubs.
England midfielder Lingard, 28, has been told a move away from Old Trafford will be sanctioned given his lack of first-team action.
Any deal required the Hammers to sign either Benrahma or Dawson on a permanent basis.