When the court decides that a marriage is invalid, an annulment is granted. This is quite different from divorce, which refers to legal dissolution of a marriage not an invalidation.