El-Hadji Diouf has extended his contract at Doncaster Rovers until the end of the season, with the option for a further year.
The 31-year-old attacker, whose previous three-month deal at Rovers expired on Tuesday, has finally put pen-to-paper on a protracted deal that was first discussed before Christmas.
Rovers boss Dean Saunders is hopeful Diouf can help fill the void left by Billy Sharp, who was sold to Southampton on Monday.
"The extra year will depend on what league we are in," said Saunders.
"He has got to keep on doing what he's been doing. He has got a flash of genius in him.
"He's not an out and out goalscorer, he's more a supplier but because he is a Premier League player he can get goals at this level.
"There has been loads of clubs interested in him.
"But his family live in Manchester and he doesn't want to go abroad. He likes it here and wants to stay."
Diouf added: "I got a lot of offers from places far away from here, but my kids go to school here.
"That's not the only reason I've decided to stay though. I enjoy playing football here, I have good communication with the manager and the fans like me here too."
The former Liverpool and Bolton man made the surprise move to South Yorkshire in October and has scored three goals in 10 appearances.