They are all correct. It depends on what you want to emphasize. For example: "Remember when Peter and Mary came to visit us in the summer of 2000?" "Oh, it couldn't have been Mary! Peter was married to Jane in 2000."
You can also say "Peter and Jane were married in 2000" which could say either that's when the event took place or that was the state of their marriage (as in the example abo