¡Ay, caramba! (pronounced [ˈaj kaˈɾamba]), from the Spanish interjections ay (denoting surprise or pain) and caramba (a minced oath for carajo), is an exclamation used in Spanish to denote surprise (usually positive). The term caramba is also used in Portuguese. "¡Ay, caramba!" is used as a catchphrase of Bart Simpson from the animated sitcom The Simpsons.
The knife-throwing villain in Tintin's adventure "The Broken Ear" (1935) exclaims "Caramba! Missed again!" so often it became a well-known catchphrase in French ("Caramba, encore raté!")
The fictional character Bart Simpson (voiced by Nancy Cartwright) popularized the phase "¡Ay, caramba!" in the animated sitcom The Simpsons. He said it first in the 1988 short The Art Museum, one of the one-minute Simpsons cartoons, that ran as interstitials on The Tracey Ullman Show from April 14, 1987 to May 14, 1989 on Fox. It became one of his most notable catchphrases, further popularizing the phrase in modern pop culture. For example, in the episode "Selma's Choice", Bart, Lisa, and their Aunt Selma approach a very popular ride at Duff Gardens. Upon seeing the exceptionally long line for the ride, Bart exclaims, "¡Ay, caramba!". "¡Ay, caramba!" were Bart's first words.