In a free-speech ruling, the U.S. Supreme Court said Thursday that the government cannot force private health organizations to denounce prostitution as a condition of getting taxpayer money to fight AIDS around the world.

The ruling in Agency for International Development v. Alliance for Open Society International, 12-10, affirmed the opinion of a split panel of the U.S. Court of Appeals for the Second Circuit.