His lawyer/attorney couldn’t keep him from jail/prison.
His lawyer/attorney couldn’t save him from incarceration/jail/imprisonment/prison.