Ziga Jeglic, a winger for the Slovenian men’s hockey team, has become the third athlete to fail a doping test at the PyeongChang Olympics, the Court of Arbitration for Sport announced Tuesday. Jeglic tested positive for fenoterol, a drug designed to open the airways to the lungs, and was held out of Slovenia’s 2-1 overtime loss to Norway on Tuesday. He must leave the Olympic Village within 24 hours of the CAS ruling.

In a statement, Jeglic said he was taking the drug to combat asthma on the advice of a doctor but forgot to seek permission to use it from Olympic drug-testing officials.

“I take the mentioned drug due to asthma under medical advice,” Jeglic said. “It has been prescribed to me after testing for respiratory problems . . . in 2017. Unfortunately I have forgot to declare it as [a therapeutic use] exception.

“I have overlooked the difference between comparable drugs, which are allowed and would enable me to use it for my respiratory problems during the Olympics. I apologize for my negligence to all the persons involved and I accept the further anti-doping procedures.”

Zeglic, 29, scored the game-winning shootout goal in his team’s win over Slovakia on Saturday. He also received a two-game ban at last year’s world championships for kicking a player from Switzerland in the neck.

Zeglic joins Japanese short-track speedskater Kei Saito, who failed a pre-competition drug test, and Russian curling bronze medalist Alexander Krushelnitsky as athletes who have failed doping tests at the PyeongChang Games.