Advertisement. 1  Pledge of Allegiance to the United States flag, is a promise or oath of loyalty to the Republic of United States of America. 2  Pledge of Allegiance was first published in 1892, in the September 8th edition of a Boston-based children magazine called 'Youth's Companion'.