Although the Tendai sect flourished under the patronage of the Imperial House of Japan and the noble classes, by the end of the Heian, it experienced an increasing breakdown in monastic discipline, plus political entanglements with rival factions of the Genpei War, namely the Taira and Minamoto clans. Due to its patronage and growing popularity among the upper classes, the Tendai sect became not only respected, but also politically and even militarily powerful, with major temples each fielding their own monastic armies of sōhei (warrior-monks). This was not unusual for major temples at the time, as rival schools also fielded armies, such as the head temple of the Yogācāra school, Kōfuku-ji. With the outbreak of the Genpei War, Tendai temples even fought one another, such as Mount Hiei clashing with Mii-dera depending on their political affiliations.