The unanimous opinion , written by Justice Antonin Scalia , overturned a 2004 ruling by the federal appeals court in Atlanta , which held that Georgia was entitled to sovereign immunity from a lawsuit brought by a paraplegic prison inmate under the Americans With Disabilities Act .