The U.S. Supreme Court on Friday ruled against a criminal defendant fighting for a reduced sentence, narrowly interpreting an exemption to mandatory minimum sentences included in a 2018 criminal justice reform law.

In a 6-3 decision, the high court limited the class of criminal defendants who qualify for the “safety-valve provision” of the federal First Step Act, which gives judges discretion to impose lighter sentences than the mandatory minimum.