The Supreme Court on Tuesday made it easier for some immigrants convicted of drug possession under state law to remain in the United States rather than being subject to deportation.

In an 8-1 decision, the justices ruled in favor of an immigrant who pleaded guilty to aiding and abetting possession of drugs in South Dakota for telling someone where to obtain cocaine.