The Genpei War was a conflict between the Taira and Minamoto clans during the late-Heian period of Japan. It resulted in the downfall of the Taira and the establishment of the Kamakura shogunate under Minamoto no Yoritomo in 1192.
The name "Genpei" comes from alternate readings of the kanji "Minamoto" and "Taira". The conflict is also known in Japanese as the Jishō-Juei War, after the two Imperial eras between which it took place.
It followed a coup d'état by the Taira in 1179 and call to arms against them led by the Minamoto in 1180. The ensuing battle of Uji took place just outside Kyoto, starting a five-year-long war, concluding with a decisive Minamoto victory in the naval battle of Dan-no-ura.