The U.N. Human Rights Council voted on Thursday to set up an investigation into mass killings during Philippine President Rodrigo Duterte's so-called war on drugs, a step that activists said was long overdue.

Duterte's government says police have killed about 6,600 people in shootouts with suspected drug dealers since he was elected in 2016 on a platform of crushing crime. Activists say the toll is at least 27,000.

The first-ever resolution on the Philippines, led by Iceland, was adopted by a vote of 18 countries in favor and 14 against, including China, and 15 abstentions, including Japan.