Arsenal agreed to sell Samir Nasri to Manchester City on Tuesday, paving the way for the midfielder to join an expensively assembled squad already filled with attacking talent.

The 24-year-old France international was due to travel to Manchester for a medical examination on Tuesday, Arsenal said before the north London team flew to Italy for a Champions League playoff against Udinese.

Arsenal was compelled to sell Nasri for a reported 24 million pounds ($40 million) because he turned down a new contract and could have left on a free transfer next year when his most recent deal expired.

The attacking midfielder, who can play centrally or on either wing, scored 27 goals in 124 appearances for Arsenal since joining from Marseille in July 2008. Despite Arsenal's failure to seriously challenge for the English league title, last season was Nasri's most productive with 15 goals — 10 in the Premier League.

His impending departure comes a week after Arsenal finally sold captain Cesc Fabregas to Barcelona.

"The summer was very difficult because we had Cesc Fabregas and Nasri on permanent transfer negotiations and that is draining in the end," Arsenal manager Arsene Wenger told reporters on Tuesday.

"We lost two great players and that's a sad side of the story but at some stage it has to be over, because you want to focus on the future".

Wenger indicated last month that the double loss would be a sign of the club's declining status, warning their departures would be "the worst situation" for a club without a major title since the 2005 FA Cup.

"You cannot convince people you are ambitious after that," Wenger said on Arsenal's website. "You see about Fabregas leaving, Nasri leaving — if you give that message out you cannot pretend you are a big club.

"Because a big club first of all holds onto its big players and gives a message out to all the other big clubs that they just cannot come in and take [players] away from you."

Arsenal has opened its league campaign with a draw against Newcastle and a loss to Liverpool, while City has beaten Swansea and Bolton.

Nasri will be providing even more creativity for a City team already including the attacking talents of Spain midfielder David Silva, England winger Adam Johnson and Argentina forward Sergio Aguero thanks to Sheik Mansour's investment of more than $1 billion US in three years as owner.

"Money is the Roots of all Evil," Arsenal midfielder Emmanuel Frimpong tweeted minutes after the Nasri deal was announced.

And Frimpong was dismissive of teammate Jack Wilshere for praising Nasri, writing "Pffffff comeon Jack" in response to the midfielder tweeting: "Good luck to my friend ... learnt a lot from him. World class player!"

But Arsenal captain Robin van Persie wished Nasri "all the best ... thanks for the good stuff!"