Important theological concepts about penal substitution depend on the doctrine of the Trinity. Those who believe that Jesus was himself God, in line with the doctrine of the Trinity, believe that God took the punishment upon himself rather than putting it on someone else. In other words, the doctrine of union with Christ affirms that by taking the punishment upon himself Jesus fulfills the demands of justice not for an unrelated third party but for those identified with him. If, in the penal substitution understanding of the atonement, the death of Christ deals with sin and injustice, his resurrection is the renewal and restoration of righteousness.