A legal annulment (as opposed to a religious annulment) is a court process that ends a marriage (similar to a divorce). The difference is, with an annulment, the marriage is treated like it never happened. There are specific legal requirements for an annulment. The Minnesota Courts Self Help Center provides a good explanation of annulments here.