Cesc Fabregas has put the finishing touches on his move to Barcelona from Arsenal after signing a five-year contract with the European champions.

Following confirmation last night that Barca and Arsenal had reached an initial agreement for the transfer of the Spain international, Fabregas this morning undertook a two-stage medical before the Catalan club confirmed on their official Twitter page that he had put pen to paper on his contract.

The 24-year-old had a 200 million euro (over £175million) buy-out clause inserted in his contract.

He was quoted as saying by the Spanish media: "For me it's a special day. I'm returning home. I know that the Arsenal fans will be disappointed with my exit from the club, but I'm here to face an incredible challenge, the challenge of my life.''

Fabregas also praised his former manager Arsene Wenger.

"I'll never have enough words to thank him for all he's done for me,'' he said. "I'll never forget him.

"I don't think he has such a good image here, he has been portrayed as something he's not, in my opinion. If today I am here with you then it's greatly due to him.

"I can't express my admiration for him strongly enough, I owe it to him that I am here.''

Barca's next match sees them take on Real Madrid in the second leg of the Spanish Supercopa at the Nou Camp on Wednesday night. Barca drew 2-2 in the first leg at the Bernabeu on Sunday night.

The announcement brings to an end the long-running transfer saga and sees Fabregas return to his local club Barca, who he left for Arsenal as a 16-year-old.

While the Gunners were always determined to keep Fabregas, it became clear this summer that the Spaniard - who made more than 300 appearances for the London club, scoring 57 goals - was no longer committed to their cause.

Barcelona saw a #27million offer rebuffed earlier in the summer, as Arsenal remained steadfast in their demands over a #40million fee.

However, with Barcelona not willing to significantly increase their cash bid, and Arsenal manager Arsene Wenger admitting the player was unsettled, the English club reluctantly have allowed a deal to go through.

Wenger expressed disappointment at Fabregas' departure.

"We have been clear that we didn't want Cesc to leave and that remains the case,'' he said in a statement on Arsenal's website.

"However, we understand Cesc's desire to move to his hometown club and have now accepted an offer from Barcelona.

"We thank Cesc for his contribution at Arsenal and wish him future success.''

Fabregas had, according to Arsenal, been struggling for match fitness because of a hamstring injury which saw him miss the club's Far East tour and other pre-season games.

Wenger omitted his captain from the Emirates Cup pre-season tournament and the midfielder was not selected for Saturday's opening Barclays Premier League fixture at Newcastle.

Despite winning both the European Championship and World Cup with Spain, club success has not followed for the midfielder, who missed Arsenal's Carling Cup final defeat to Birmingham at Wembley earlier this year through injury.