Air Force Academy cadets are no longer required to say “so help me God” at the end of the Honor Oath, school officials said Friday.

The words were made optional after a complaint from the Military Religious Freedom Foundation, an advocacy group, that they violated the constitutional concept of religious freedom.

Academy Superintendent Lt. Gen. Michelle Johnson said the change was made to respect cadets’ freedom of religion.