Barcelona have confirmed Ibrahim Afellay has left the club, signing on loan for Greek side Olympiakos.
The club has posted a statement confirming the transfer on their official website, revealing Afellay was in Piraeus this weekend to tie up the formalities of his departure.
Afellay moved to Barca from PSV Eindhoven in 2010 and made 35 appearances in an injury-hit spell.
He spent time on loan at Schalke and last year made only two appearances for La Blaugrana.
Barca have also confirmed Afellay is in the final year of his contract with the club.