Yoritomo's army, after many battles, defeated the Taira clan completely in the battle of Dan-no-ura in 1185 and established their headquarter in Kamakura.
頼朝を大将とする軍は、その後多くの戦いを経て文治元年（1185年）に壇ノ浦の戦いで平氏一門を滅ぼし、鎌倉に本拠を構えた。