This is one of those cases that teaches me how much I don't know about the Supreme Court. It was a 5-4 ruling, but it was Rehnquist, Scalia, O'Connor, Breyer, and Stevens concurring, with Thomas, Ginsburg, Kennedy, and Souter dissenting.
For a complete explanation that I don't understand at all, read more at SCOTUSBlog.