The Pledge of Allegiance is formally adopted by USA Congress.
Swearing of the Pledge is accompanied by a salute. An early version of the salute, adopted in 1887, known as the Balch Salute, which accompanied the Balch pledge, instructed students to stand with their right hand outstretched toward the flag, the fingers of which are then brought to the forehead, followed by being placed flat over the heart, and finally falling to the side.
In 1892, Francis Bellamy created what was known as the Bellamy salute. It started with the hand outstretched toward the flag, palm down, and ended with the palm up. Because of the similarity between the Bellamy salute and the Nazi salute, which was adopted in Germany later, the US Congress stipulated that the hand-over-the-heart gesture as the salute to be rendered by civilians during the Pledge of Allegiance and the national anthem in the US would be the salute to replace the Bellamy salute. Removal of the Bellamy salute occurred on December 22, 1942, when Congress amended the Flag Code language first passed into law on June 22, 1942. Attached to bills passed in Congress in 2008 and then in 2009 Section 301 of title 36, United States Code, language was included which authorized all active duty military personnel and all veterans in civilian clothes to render a proper hand salute during the raising and lowering of the flag, when the colors are presented, and during the National Anthem.