Clone Corridor posted a really good piece about the Arthurian legend’s influence on the Anakin/Padmé romance:
I think the similarities to Anakin here are quite obvious, but the idea that this paragon of knighthood is brought low by illicit love runs through Anakin’s story. He has the potential of being one of the best Jedi to have ever lived with incredibly powers, but by falling in love with Padmé Amidala, herself a queen at the time, seemingly dooms him from the beginning. Both Lancelot and Anakin are torn between their duties to their orders and their hearts.
Just to throw in my own thoughts, Gwinnie was by late medieval standards both an adulteress and a traitor, way more serious than anything Padmé ever did. In real life that got your head separated from your body if you happened to be a queen married to Henry VIII. I’ve read that the Guinevere/Lancelot romance did not appear in Arthurian legend until after the Norman invasion and the French court’s troubadours brought a little sprinkle of forbidden love and scandal to add a little spice. It figures they’d like that sort of thing.