Until the annulment, they were still married.
marriage annulment
grant an annulment
petition for annulment
The marriage was declared void by an official annulment.
They sought an annulment instead of a divorce.