Emperor Go-Daigo
Go-Daigo's supporters fought for him while he was on the Oki Islands.  One of the shogun's generals, Ashikaga Takauji changed sides.  Go-Daigo's side won, and Go-Daigo ruled.  His rule is called the Kemmu Restoration.