The law must exist. Law clearly states the offense and it being illegal. Penalty for committing the offense is clearly stated. All of the above.