Bala, who is the president of the Humanist Association of Nigeria, pleaded guilty to committing blasphemy against Allah (SWT) and Prophet Muhammad (SAW).
He made the headlines in 2020 when he was arrested at his residence in Kaduna over blasphemy and incitement.
The convict who had been in a correctional facility for almost two years, entered a guilty plea on Tuesday when he was brought before the court on an 18-count charge.
While pleading with the court on Tuesday to tender justice with mercy, Bala promised not to repeat the said blasphemous post, saying he did not know it would elicit the sort of reactions it got when he shared them.
Earlier, the judge, Justice Farouk Lawan, and the convict’s lawyer, James Ibori, had tried to convince him against his guilty plea but the convict insisted he knew what he was doing and maintained his plea.
In view of his plea, the judge sentenced him to 24 years’ imprisonment.
The lawyer had earlier told the court that his client had a mental problem, for which he was treated at Aminu Kano Teaching Hospital, Kano.