Kirito obtained Excalibur after defeating Sugou Nobuyuki, the antagonist of the Sword Art Online II arc. Sugou had created a virtual world where he was able to control Asuna and others, and Kirito had to defeat him in order to save them.