TAIPEI—Opposition candidate Tsai Ing-wen won a landslide victory in Taiwan’s presidential election on Saturday, making her the island’s first female president and setting back Beijing’s ambitions to reunify it with the mainland.

Ms. Tsai’s commanding victory brings to power her Democratic Progressive Party, or DPP, which espouses Taiwan’s formal independence from China, a red line for Beijing, which claims the island as its territory.

...