A Ugandan judge has revealed she has received death threats after anulling the anti-gay law earlier this year.

Solomy Bossa Balungi has said she has received numerous attacks from the public after she helped with the ruling the Anti-Homosexuality Act must be nullified.

On 1 August, the Constitutional Court found speaker Rebecca Kadaga had acted ‘illegally’ in rushing the anti-gay legislation through parliament.

‘We have received a lot of community backlash for the annulment of the anti-gay law,’ Bossa told local media.

‘We had not responded to them since our judgment but the same is in black and white and as judges, I think we did our job.’

She added: ‘The judgment is in black and white and those who are aggrieved with it should appeal before the Supreme Court.’

On social media, the judge has received death threats such as ‘Die fat dike’ [sic]’, and has been told she will be ‘punished by God’ for what she has done.