In the Mudan Incident of 1871, an Okinawan ship was wrecked on the southern tip of Taiwan and 54 crewmen were beheaded by Paiwan aborigines. After the Qing government refused to make compensation, stating that the aboriginals were not under its control, Japan launched a punitive expedition to the area in 1874, withdrawing after the Qing promised to pay an indemnity.