In 1892, in its earliest form, it read:
I pledge allegiance to my Flag and the Republic for which it stands, one nation, indivisible, with liberty and justice for all.
But over the course of 60+ years, it changed many times. When and why did it change?