Brazil goalkeeper Julio Cesar has joined Benfica on a two-year deal after being released by QPR.
Both Premier League clubs were actively chasing the highly-rated 20-year-old Bastia midfielder, but he has decided to stay in France.
He has agreed a four-and-a-half-year deal with Lille, but will remain on loan at Bastia for the rest of the season.
"I am very pleased to join Lille," he told Lille's website.
"Lille offered me a beautiful sporting project, and I immediately liked it and with the support of my advisors we agreed straight away."