In my early education our school days commenced with all students standing, facing the US flag and reciting:

“I pledge allegiance to the Flag of the United States of America, and to the Republic for which it stands, one Nation under God, indivisible, with liberty and justice for all”.

Apparently there was an earlier pledge. In 1906, The Daughters of the American Revolution’s magazine, The American Monthly, listed the “formula of allegiance” as being the Balch Pledge of Allegiance, which reads:

I pledge allegiance to my flag, and the republic for which it stands. I pledge my head and my heart to God and my country. One country, one language and one flag

In 1954 on flag day, god became part of the pledge.

From this day forward, the millions of our school children will daily proclaim in every city and town, every village and rural school house, the dedication of our nation and our people to the Almighty…. In this way we are reaffirming the transcendence of religious faith in America’s heritage and future; in this way we shall constantly strengthen those spiritual weapons which forever will be our country’s most powerful resource, in peace or in war.

— Dwight D. Eisenhower