A dismissed conviction can be a conviction for immigration purposes, if there is an admission of facts by the defendant sufficient to constitute the offense. This would typically happen where the defendant pleads guilty, allocutes, and then successfully completes a deferred sentence.