The correct answer is: The emperor appointed him to be shogun.
The Minamoto clan, particularly through Minamoto no Yoritomo, rose to power after the Genpei War (1180-1185) and was appointed shogun by the emperor. This appointment symbolized the shift of power from the imperial court to the military leaders during the Kamakura period.