Updated

Chilean judges have sentenced a man to life in prison for the beating death of a gay man whose body was carved with swastikas.

The killing of Daniel Zamudio last year prompted Chile's Congress to pass an anti-discrimination law.

The three-judge panel imposed a life sentence on Patricio Ahumada Garay. It sentenced two others to 15 terms, and another was sentenced to seven years.

Zamudio's family and friends clapped as the sentences were read out.

The attackers burned Zamudio with cigarettes, beat him with glass bottles and broke his right leg with a heavy stone before they abandoned him to die in a park on March 3, 2012.