D.G.

= Dei gratia (by the grace of God)
= Deo gratias (thanks be to God)