The Pledge of Allegiance was written in 1892 by Francis Bellamy (1855–1931), who was a Baptist minister, a Christian socialist, and the cousin of socialist utopian novelist Edward Bellamy (1850–1898). The original “Pledge of Allegiance” was published in the September 8 issue of the popular children’s magazine The Youth’s Companion as part of the National Public-School Celebration of Columbus Day, a celebration of the 400th anniversary of Christopher Columbus‘s arrival in the Americas. The event was conceived and promoted by James B. Upham, a marketer for the magazine, as a campaign to instill the idea of American nationalism by selling flags to public schools and magazines to students.[2][3][4][5]
Bellamy’s original Pledge read as follows:[6]
I pledge allegiance to my Flag and the Republic for which it stands, one nation indivisible, with liberty and justice for all.
According to the United States Flag Code, the Pledge of Allegiance reads:[1]
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.
Also according to the Flag Code, the Pledge “should be rendered by standing at attention facing the flag with the right hand over the heart. Members of the Armed Forces and veterans who are present and not in uniform may render the military salute. Persons in uniform should remain silent, face the flag, and render the military salute”.
Source: Wikipedia