– A Russian court on Tuesday upheld the nine-year prison sentence handed to American basketball star Brittney Griner for drug possession, rejecting her appeal.

Griner, an eight-time All-Star center with the WNBA’s Phoenix Mercury and a two-time Olympic gold medalist, was convicted Aug. 4 after police found vape canisters containing cannabis oil in her luggage at Moscow’s Sheremetyevo Airport.

The Moscow region court ruled Tuesday to uphold the sentence. In the ruling the court stated, however, that the time Griner will have to serve in prison will be recalculated with her time in pretrial detention taken into account. One day in pretrial detention will be counted as 1.5 days in prison, so the basketball player will have to serve around eight years in prison.

Griner took part in the Moscow Regional Court hearing via video call from a penal colony outside Moscow where she is imprisoned.