This charge and sentence looks prima facia unconstitutional.
In a functional and Constitutionally limited Republic with an equitable Justice system predicated upon natural law?
Correct.
We no longer have a system anywhere near that. Lysander Spooner was warning of this over a hundred years ago and for all that time... our cheese has slid slowly off the cracker.
... and here we are.