Taiwan's President Tsai Ing-Wen is stepping down as leader of her party.
Tsai campaigned in local elections on a platform of defiance against China and upholding Taiwan's democracy.
But voters flocked instead to the main opposition party.