Who are you legally married to if you are married to two different people?

the first person you married