"Before" is correct. Remember that the past perfect is what we can call "a previous past" because it happened in the past before some other event. The people got married.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.