California, United States of America
The following excerpt is from People v. Villalobos, B277707 (Cal. App. 2017):
Section 1016.5 provides that, prior to accepting a guilty plea to any offense greater than an infraction, the court must advise a defendant on the record as follows: "If you are not a citizen, you are hereby advised that conviction of the offense for which you have been charged may have the consequences of deportation, exclusion from admission to the United States, or denial of naturalization pursuant to the laws of the United States." (Id., subd. (a).) If a court fails to advise a defendant regarding the immigration consequences of a guilty plea that may result in the defendant's deportation, the defendant may move to withdraw the plea. (People v. Totari (2002) 28 Cal.4th 876, 881; 1016.5, subd. (b).)
The above passage should not be considered legal advice. Reliable answers to complex legal questions require comprehensive research memos. To learn more visit www.alexi.com.