Where does the phrase "Pardon my French" originate?

by shmolhistorian

My parents used to say this a lot before they would cuss "pardon my French" what does it mean? Were the French perceived as vulgar at some point? I thought French society was always highly regarded throughout the world. Thanks!

LovepeaceandStarTrek

This answer by /u/yodatsracist from 4 years ago should keep you busy while you wait for a response:

https://www.reddit.com/r/AskHistorians/comments/7eecbe/where_did_the_term_pardon_my_french_come_from_and/dq4ujja