The Liverpool midfielder has signed a four-year deal with the French club he has been on loan at this season for a £1.98m fee.
Signed by Gerard Houllier three years ago, Diarra never played a competitive game for Liverpool and was instead loaned out to Le Havre, Bastia and Lens.