In 1185, the Genpei War ended when the Minamoto defeated the Taira at the Battle of Dan no Ura, and most of the Taira leaders were executed or committed suicide (including Emperor Antoku, who drowned). The Minamoto were now in control of Japan, and established their base in Kamakura. This also placed the Hōjō in a very powerful position as well. That year, Hōjō Tokimasa received from Cloistered Emperor Go-Shirakawa the first appointments for "jitō" and "shugo", or constable and steward.