AMDG stands for the motto of the Society of Jesus, "Ad majorem dei gloriam"--"For the greater glory of God."