Wedding of Anakin Skywalker and Padmé Amidala (Earth-2356)

Twenty-two years before the Battle of Yavin, and shortly after the outbreak of the Clone Wars, Anakin Skywalker and Padmé Amidala were married in a secret wedding on Varykino, at the Lake Country, on Naboo. The marriage, officiated by the Pontifex of the Brotherhood of Cognizance Maxiron Agolerga, was witnessed by the droids C-3PO and R2-D2, was kept secret due to Amidala's place as a prominent senator in the Galactic Republic and because of Skywalker's membership in the Jedi Order; the Jedi Code prevented Jedi from marrying non-Jedi. Skywalker's marriage to Amidala ultimately led to his fall to the dark side of the Force, as Darth Sidious—the Dark Lord of the Sith—was able to seduce him to the dark side with the promise of finding the power to save Amidala from death.

Source

 * https://starwars.fandom.com/wiki/Wedding_of_Anakin_Skywalker_and_Padm%C3%A9_Amidala