The U.S. Supreme Court ruled Wednesday that defendants are entitled to know that the potential consequences of a guilty plea include deportation for noncitizens, a decision that could have broader significance for the more than 12.8 million legal immigrants who live in the U.S.

The case, Padilla v. Kentucky, focused on Jose Padilla, a Honduran-born immigrant who faces deportation after pleading guilty to felony marijuana trafficking. He isn't the U.S. citizen of the same name who was convicted in 2007 of conspiring to aid terrorists.