Michy Batshuayi wrapped up his loan move to Crystal Palace from Chelsea in the closing minutes of Deadline Day.
The deal went down to the wire in a dramatic final few hours on Thursday, with Sky Sports News understanding the deal sheet was submitted before the 11pm deadline.
Just after midnight Palace confirmed the deal, which lasts until the end of the season, had got over the line.
It came after Chelsea refused to do business with Tottenham over a potential loan deal for the Belgium striker.
Palace chairman Steve Parish said: "This is a fantastic signing for Crystal Palace.
"Michy is a player we've long admired, and I'm delighted that we've finally managed to get him in a red and blue shirt. He will be a magnificent addition to our squad."
Batshuayi's representatives are understood to have offered the player to Spurs following the collapse of a potential switch to Monaco earlier in the window - and the player is keen on joining Mauricio Pochettino's squad.
However, the west London club did not want to loan the Belgian to a direct rival for a top-four position, and there is a history of bad blood between the clubs regarding transfers.
In 2005, Frank Arnesen left his role as sporting director at White Hart Lane to move to Stamford Bridge, and then in 2013 Spurs were close to signing Willian, only for Chelsea to usurp the deal at the last minute.
Chelsea were looking for a new loan club for Batshuayi because his spell at Valencia this season didn't work out.
West Ham and Real Betis had agreed terms on a new Batshuayi loan deal until the summer with Chelsea, but the cost of the player's wages were thought to have been a stumbling block.