Composed by John Williams, "Anakin's Betrayal" is a musical selection featured in the Revenge of the Sith soundtrack. This composition musically depicts the sorrowful transformation of Anakin Skywalker as he succumbs to the influence of the dark side of the Force. The London Symphony Orchestra and London Voices performed the piece. Williams received a Grammy nomination for Best Film Score because of this track. The core framework of the piece is built upon a motif originating from Attack of the Clones. It is initially heard when Darth Sidious gives Order 66 to the clone troopers, accompanying the deaths of numerous Jedi throughout the galaxy. A slightly modified iteration is present on Mustafar during Padmé's dialogue with Anakin; its presence grows as she understands that the man she loves is gone, and it continues through Anakin's discussion with Obi-Wan, concluding as they activate their lightsabers.
Within the track "The Force Is with You" on the The Rise of Skywalker soundtrack for the 2019 film Star Wars: Episode IX The Rise of Skywalker, "Anakin's Betrayal" makes an appearance, evolving into "Rey's Theme," before subsequently transitioning into "The Emperor's Theme."