CNN  — 

Russian teenage figure skater Kamila Valieva failed a drug test taken in December before the Beijing 2022 Winter Olympics, the International Testing Agency (ITA) confirmed Friday.

Fifteen-year-old Valieva, a breakout star of the Games who helped the Russian Olympic Committee (ROC) take home gold in Monday’s figure skating team event, was allowed to compete despite testing positive for the banned heart drug trimetazidine, which is commonly used to treat people with angina, the ITA said in a statement.

The failed test only came to light during the Winter Olympics, and it remains unclear if the drug test controversy will see the medal revoked.

The scandal continues to delay the awarding of medals to all three teams, silver for Team USA and bronze for Team Japan.

“The decision on the results of the ROC team in the Team Figure Skating event can be taken … only after a final decision on the full merits of the case has been taken,” the ITA said.

The case will be heard by the Court of Arbitration for Sport (CAS), with a decision needed before the figure skating star’s next event – the women’s singles short program – on Tuesday, in which she is favorite to take gold.

In that hearing, the International Olympic Committee (IOC) will challenge a decision by the Russian Anti-Doping Agency (RUSADA) to lift a provisional suspension on the skater, according to the ITA.

Responding to the controversy, the ROC said Valieva had “repeatedly passed doping tests” while already in Beijing, adding that it is taking measures to keep Valieva’s “honestly won” gold.

“The doping test of an athlete who tested positive does not apply to the period of the Olympic Games. At the same time, the athlete repeatedly passed doping tests before and after December 25, 2021, including while already in Beijing during the figure skating tournament. All the results are negative,” the ROC statement said.

“The Russian Olympic Committee is taking comprehensive measures to protect the rights and interests of the members of the ROC Team, and to keep the honestly won Olympic gold medal.”

Russia's Kamila Valieva attends a training session on February 11, 2022.

Why was Valieva allowed to compete?

The ITA, which leads the anti-doping program for the Beijing Winter Olympics, said Valieva’s drug sample was taken at the Russian Figure Skating Championships in Saint Petersburg on December 25.

However, it took until February 8 for a laboratory in Sweden to report it had detected a banned substance – one day after the ROC won gold at the team event in Beijing.

According to the ITA, Valieva tested positive for trimetazidine – a drug used to treat the heart condition angina, which causes chest pain due to poor blood flow to the heart. It is on the World Anti-Doping Agency’s (WADA) banned list.

Hormone and metabolic modulators are a class of drugs banned by WADA due to evidence of athletes using them for performance enhancement, as they can increase blood flow and improve endurance.

Valieva was immediately given a provisional suspension by Russia’s anti-doping agency, which automatically prohibits athletes from participation in all sports.

The figure skater challenged the suspension on February 9 and, at a hearing that same day, the Russian anti-doping agency decided to lift the provisional ban – allowing her to continue competing at the Olympics, according to the ITA.

At 15, Valieva is a minor and therefore considered a “Protected Person” under the World Anti-Doping Code, which means her name does not need to be disclosed to the public.

The ITA said it released her identity following media reports naming her based on “unofficial information,” and the ITA said it “acknowledges the necessity for official information due to heightened public interest.”

Valieva of Team ROC skates during the women single skating free skating team event on day three of the Beijing 2022 Winter Olympic Games at Capital Indoor Stadium on February 07, 2022 in Beijing, China.

IOC ‘looking at the entourage’

Russian athletes are unable to compete in the Olympics under their country’s name due to sanctions from the IOC and WADA as a result of the country’s “systemic manipulation” of anti-doping rules during the 2014 Sochi Games.

Speaking to journalists Friday, IOC spokesperson Mark Adams said the governing body wanted to “expedite” the case.

“We hope that the whole issue can be expedited in the interest of every athlete, not just the Russians, but also in the interest of all of the athletes competing,” he said.

As Valieva’s case continues to be examined, Adams referenced the work of the IOC’s “Entourage Commission.”

According to the Olympic website that commission “advises the IOC Session, the IOC Executive Board and the IOC President on supporting and protecting clean athletes.”

“We realized some time ago this is very, very important that all of the people, the coaches, doctors and everyone around the athlete – it’s important that they have their responsibility too,” said Adams on Friday.

“And by the way, we don’t just look at athletes involved in these cases, we do look at the entourage. It is very important, but I really don’t want to speak much further on this topic because it strays into discussing the case and I can’t do that I’m afraid.”

The International Skating Union said it will also exercise its right to appeal RUSADA’s decision to lift the ban on competing “and to ask CAS to reinstate the provisional suspension.”

On Friday, Kremlin spokesman Dmitry Peskov said there was a “misunderstanding” over Valieva’s positive test as he offered full-throated support to the figure skater.

“We have great respect for both WADA and the IOC,” Peskov told reporters on a conference call.

“They are dealing with this situation at the moment. Let’s not rush, let’s wait for the completion of the proceedings and the decision of the IOC. For now, we all support our Kamila Valieva and wish her success.”

Asked if the Kremlin had any questions for Russian sports officials over the situation, Peskov said: “The Kremlin has no questions at the moment. The Kremlin has an appeal to everyone: let’s wait. Our sports officials are doing their job.

“We are convinced that there was some kind of misunderstanding. Our sports officials have questions about the timing of testing Valieva’s samples … but we do not comment and do not want to comment on the situation, we are waiting for the completion of the proceedings.”

CNN’s Rebecca Wright, Christine Brennan and Nathan Hodge contributed reporting.