The version played included the first stanza, beginning “Deutschland, Deutschland uber alles, uber alles in der Welt” which was used as Nazi propaganda.

German tennis has responded with outrage after the United States Tennis Association (USTA) made the embarrassing error of playing the Nazi-era version of Germany’s national anthem during a Fed Cup tie in Hawaii.

But Deutschland lied, written in 1841, is still listed as the official national anthem, with only the third verse now being sung.

“I thought it was the epitome of ignorance, and I’ve never felt more disrespected in my whole life, let alone in Fed Cup,” Germany’s Andrea Petkovic said, adding that she considered walking off court before the singles match against Alison Riske.

Petkovic later said her first comments had been somewhat emotional but that was because the incident happened before her match and she was left stunned. “We were left shocked and did not know how to react,” Petkovic said.

German tennis federation chief Ulrich Klaus said his American counterpart had apologized for the mistake. German team coach Barbara Ritter said the mistake was “an absolute scandal, a disrespectful incident and inexcusable”.

Riske won the opening rubber to give the US a 1-0 lead. Bad weather prevented any further play on the opening day of the tie.