Hungarian trumpet player Ervin Vaszondi

This photo taken Wednesday, Oct. 26, 2016 shows former Hungarian trumpet player Ervin Vaszondi. He was one of the musicians whose band recorded jazz tunes with the help of an American diplomat who rented a recording studio in Budapest in 1956. At the time, jazz was banned in Hungary by the communist regime but the recordings of the Hungarian musicians were broadcast by the Voice of America in Nov. 1956.

(AP Photo/Andras Nagy)

BUDAPEST, Hungary (AP) - In Hungary of the 1950s, jazz music was a dangerous pastime - but music lovers got some clandestine help from the United States government.

Jazz was a tool of U.S. Cold War diplomacy, promoted and broadcast into the East Bloc in an effort to make American culture more appealing to intellectuals and other elites behind the Iron Curtain.

On Thursday evening, the United States celebrated those past efforts with a concert at a nightclub in Budapest that featured the music of Duke Ellington and other artists that it once broadcast into Hungary. The embassy also released a limited edition CD of Hungarian jazz recordings sponsored by a U.S. diplomat shortly before the country's failed anti-Soviet revolution of 1956. Later that year, the recordings were broadcast back into the country - and around the world - on Voice of America.

"There were freedom fighters in 1956 ... fighting for freedom and for democracy," Ambassador Colleen Bell said before the concert in Budapest. "Some were in the streets with makeshift weapons and some were in recording studios recording jazz."

The concert was part of embassy commemorations marking the 60th anniversary of that revolution, which was crushed by Soviet tanks.

It comes at a time of deeply strained ties between the two nations, with the U.S. frequently criticizing the erosion of the democratic system of checks and balances under Prime Minister Viktor Orban.

Among those at the tribute concert were some of those who performed for the 1956 recording.

Drummer Ferenc Ruttka, later a famous painter and art director in films, recalled that jazz was a "forbidden fruit" in the 1950s but said many musicians managed to stay abreast of the rapidly changing scene by getting their hands on smuggled recordings.

"Jazz is my life. Making these recording was total joy," Ruttka said.

During the communist era, the free-spirited musical form was feared as a subversive force by rulers across the communist world. In Hungary public performances were banned and the syncopations and improvisations of jazz were kept off the national radio stations.

Instead, jazz lovers played in clandestine jam sessions to avoid the secret police and listened to American music on static-filled radio shows which authorities tried to block.

"The Americans believed that through jazz they could target the intellectual classes of the communist bloc," said jazz critic Robert Maloschik. "This tactic of 'loosening up' was effective, because college students and jazz musicians would get together to listen and play jazz in their homes. To do this in the 1950s was very risky because the security services were always watching out for such activities."

Ernest Nagy, the American vice consul in Budapest in 1956 and an amateur musician, attended some covert jam sessions and, impressed by what he heard, rented out the Qualiton Studio of the state-owned Hungarian Record Production Company to record some of the Hungarian bands.

The sides recorded in June 1956 included original compositions as well as standards like Jerome Kern's "Yesterdays" and "Bernie's Tune" by the Gerry Mulligan Quartet.

They were broadcast on Nov. 23, 1956, by legendary presenter Willis Conover on his Voice of America "Jazz Hour." Several American jazz greats, including Mulligan, Quincy Jones and Billy Taylor, were guests of the show.

"This one sounded better than some of the things I hear cut over here," Jones said of one Hungarian performance. "A lot of European musicians have tendencies to just imitate outright. This seems to have the basic feeling that we have and their own approach to it."

By that time, the Hungarian revolution had been crushed by Soviet tanks.

"We don't know whether the musicians who made this music are able to listen today or even where they may be, as we broadcast their music," Conover said. "But here for the world is their living testimonial in the universal language of music."

As it happened, at least one of the performers back in Budapest was listening on short-wave radio, Ervin Vaszondi, then 19, who played trumpet in a sextet. That group included the late Gabor Szabo, who later gained world renown for his groundbreaking guitar style.

"I turned it on and suddenly I heard myself," Vaszondi said. "I woke my father up and told him, 'Dad, come listen, I'm playing on the Washington radio.'"

His father was less impressed, Voice of America or not.

"His favorites were Hungarian songs and operettas and he said 'You call this music, son?'" Vaszondi recalled. "And I said, 'Yes, I do!'"

Copyright 2016 The Associated Press.