WASHINGTON (AP) — The U.S. is imposing visa bans on Ugandan officials who are involved in corruption and are violating the rights of gay people and others.

The Obama administration did not identify the targeted officials.

Uganda passed a law in February that strengthened criminal penalties for gay sex and made life sentences possible for those convicted of breaking the law.

Human rights groups have reported a surge in rights abuses of gay people since the law took effect.

The U.S. already has said it would discontinue or redirect several million dollars in assistance to Uganda. The Pentagon also canceled a training exercise in Uganda.