That was the judicial murder of an innocent man.
Luke 23:
39 And one of those robbers who were hanged, blasphemed him, saying: If thou be Christ, save thyself and us. 40 But the other answering, rebuked him, saying: Neither dost thou fear God, seeing thou art condemned under the same condemnation? 41 And we indeed justly, for we receive the due reward of our deeds; but this man hath done no evil. 42 And he said to Jesus: Lord, remember me when thou shalt come into thy kingdom. 43 And Jesus said to him: Amen I say to thee, this day thou shalt be with me in paradise.
All true, but irrelevant to the question at hand.
“Jesus Christ died in prison serving a life sentence without possibility of parole for my sins”?