NBC issued an on-air apology for omitting the words under God from the Pledge of Allegiance during its coverage of golf's U.S. Open.

The words were edited out of a clip of children reciting the oath, a move noticed by viewers who immediately took to Twitter and other social media to vent their anger, the Huffington Post reported.

In a statement during the broadcast, NBC commentator Dan Hicks said, We began our coverage of this final round just about three hours ago and when we did it was our intent to begin the coverage of this U.S. Open Championship with a feature that captured the patriotism of our national championship being held in our nation's capital for the third time.

Regrettably, a portion of the Pledge of Allegiance that was in that feature was edited out. It was not done to upset anyone and we'd like to apologize to those of you who were offended by it.

The words under God were not in the original pledge from 1892 and were not added until 1954.