“I pledge allegiance to my Flag and to the Republic for which it stands one Nation indivisible, with Liberty and Justice for all.”
“The flag of the United States” replaced the words “my Flag” in 1923 because some foreign-born people might have in mind the flag of the country of their birth instead of the United States flag. A year later, “of America” was added after “United States.”
No form of the Pledge received official recognition by Congress until June 22, 1942, when the Pledge was formally included in the U.S. Flag Code. The official name of The Pledge of Allegiance was adopted in 1945. The last change in language came on Flag Day 1954, when Congress passed a law, which added the words “under God” after “one nation.”
Originally, the pledge was said with the right hand in the so-called “Bellamy Salute,” with the right hand resting first outward from the chest, then the arm extending out from the body. Once Hitler came to power in Europe, some Americans were concerned that this position of the arm and hand resembled the Nazi or Fascist salute. In 1942 Congress also established the current practice of rendering the pledge with the right hand over the heart.
The Flag Code specifies that any future changes to the pledge would have to be with the consent of the President.
On June 14, 1777, in order to establish an official flag for the new nation, the Continental Congress passed the first Flag Act: "Resolved, That the flag of the United States be made of thirteen stripes, alternate red and white; that the union be thirteen stars, white in a blue field, representing a new Constellation."