The city of Kamakura, in what is now Japan's Kanagawa Prefecture, was besieged twice: