A divided U.S. Supreme Court on Wednesday limited the amount of restitution due to child pornography victims whose images are viewed by thousands over the Internet.

In Paroline v. United States, the 5-4 majority, overturning a $3.4 million award to a victim known by the pseudonym “Amy,” held that the amount of restitution must be tied to the role the convicted offender played in causing the victim’s injury.