For example

He was found guilty of being an accessory to the crime of burglary and was sentenced to imprisonment.