Kaley Cuoco (Alberto E. Rodriguez/Getty Images)

Kaley Cuoco has apologized for posting a picture on social media on Independence Day of her dogs sitting on an American flag.

Commenters sharply criticized the Instagram photo, which the "Big Bang Theory" star had said was taken by her dog sitter while she was out of town.

She later removed the picture and posted another with a graphic of an American flag in the shape of a heart. In the caption she writes that she made a mistake and sincerely apologizes to "anyone that has been offended."

She adds that the picture in no way reflects her "feelings toward what the American flag represents."

She calls herself "a proud American, today, tomorrow, always."

Sign up for the NJ1015.com Newsletter

Get the best of NJ1015.com delivered to your inbox every day.

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)