Frank Schleck has failed a doping test and will leave this year's Tour de France his RadioShack-Nissan team have confirmed.

The 32-year-old tested positive for the diuretic Xipamide on July 14, the Union Cycliste Internationale have announced.

A UCI statement read: "Earlier today, the UCI advised the Luxembourger rider Frank Schleck of an adverse analytical finding (presence of the diuretic Xipamide...) in the urine sample collected from him at an in competition test at the Tour de France on 14 July 2012."

Schleck was 12th in this year's Tour de France, nine minutes and 45 seconds behind leader Bradley Wiggins, and has the right to attend the analysis of his B sample.

However, his team were quick to release a statement of their own confirming that Schleck would not be continuing.

The statement said: "Our team attaches great value to transparency. Because of this, we can announce the following as a response to the adverse analytical finding of xipamide in Frank Schleck's urine sample of July 14 during the Tour de France.

"After being informed by the UCI about the presence of xipamide in the urine sample of Frank Schleck on July 14, the team has decided to immediately withdraw Frank Schleck from the Tour de France.

Unable to explain findings

"Even though an abnormal A sample does not require these measures, Mr Schleck and the team believe this is the right thing to do, to ensure the Tour de France can go on in calm and that Frank Schleck can prepare his defence in accordance with the legal timing to do so.

"On the subject of xipamide the team can declare the following: it is not a product that is present in any of the medicine that the team uses and the reason for the presence of xipamide in the urine sample of Mr Schleck is unclear to the team. Therefore, the team is not able to explain the adverse findings at this point.

"However, the team is fully determined to collaborate with the anti-doping agencies in order to resolve the matter."

The Luxembourg RadioShack-Nissan rider is the older brother of 2010 winner Andy, who won the Tour de France after original victor Alberto Contador was stripped of his title for doping offences.

The positive test came after Saturday's Bastille Day stage to Cap d'Agde and news of the positive findings broke on the Tour's second rest day.

On the Tour's first rest day, Cofidis rider Remy di Gregorio was detained by French police investigating an alleged doping ring.

Schleck voluntarily attended Pau police station on receipt of the news for questioning.

There were uniformed and plain clothes police at the team hotel, but team spokesman Philippe Maertens denied they had carried out a search of the rooms and were merely there to keep the peace and deal with the large media scrum at the gate.