When a criminal defendant pleads guilty to a crime, it produces the same result as a criminal conviction at trial. So courts have created procedural requirements designed to ensure that any plea is legally and constitutionally valid before it is accepted.
One requirement is that there must be a factual basis for the crim …