Benkei became a yamabushi (山伏) at the age of 17 and guarded the Gojo bridge at Kyoto. He aimed to collect as many katanas as he could from samurais who wanted to pass through the bridge, eventually collecting 999.