The FBI and the U.S. State Department closely monitored Mexican author Carlos Fuentes for more than two decades because he was considered a communist and a sympathizer of Cuba's Fidel Castro, recently released documents show.

The documents posted on the FBI's website this week show the United States denied Fuentes an entry visa at least twice in the 1960s.

In one of the memorandums Fuentes is described as "a leading Mexican communist writer" and a "well-known Mexican novelist with long history of subversive connections."

Fuentes died in 2012 at age 83 after suffering an internal hemorrhage.

In the 170-page dossier of internal official documents and some newspaper articles, the FBI describes how it monitored Fuentes and denied him permission to enter the United States for having been a member of the Mexican Communist Party.

One of the 20th Century's most influential Latin American authors and intellectuals, Fuentes backed Castro after he took over Cuba and also supported the Sandinista revolution in Nicaragua. He was also very critical of U.S. policy toward Latin America.

The first documents date from 1962, when Fuentes received an invitation to go to the United States for a televised debate with the then Secretary of State Richard Goodwin.

A note dated April 3, 1962, states that until that day Fuentes had not requested a visa at the U.S. Embassy Mexico, and adds that there were instructions from Washington to delay his application and await further instructions.

The FBI's file for Fuentes includes newspaper articles about how his visa application was later denied.

Although Fuentes was denied an entry visa at least a couple of times, the Mexican writer did make several visits to the United States and was granted permission to teach at American universities. But authorities continued to track him in U.S. territory.

In a memorandum from October 1970 addressed to the FBI's director, the bureau suggests finding sources and informants at Columbia and New York University who could monitor Fuentes. The memo warned against an active investigation because of media attention.

"Because of Fuentes' prominence as an author, the publicity which has attended his prior visa refusals, and his indicated connection with two New York City universities, no active investigation regarding him is desired at this time," the document reads.

It ends with a note stating that Fuentes has had a "long history of subversive connections and has traveled to the Iron Curtain and Cuba."

Once considered a communist, Fuentes spent some of his childhood in the U.S. as the son of a Mexican diplomat. He said it grated on him that his left-of-center politics meant he often was portrayed as anti-American.

"To call me anti-American is a stupendous lie, a calumny. I grew up in this country. When I was a little boy I shook the hand of Franklin Roosevelt and I haven't washed it since," he said with characteristic good humor in an unpublished 2006 interview in Los Angeles.

More recently, as a moderate leftist, Fuentes strongly opposed U.S. tactics in the crackdown on immigration as part of the war on terrorism. He warned about Mexico's religious right but also blasted Venezuela's Hugo Chavez as a "Tropical Mussolini."

The FBI files also show how over time the bureau changed its views about Fuentes.

Early on, the FBI highlighted his leftist tendencies but in 1985 he is described as a prominent author and is given a visa to teach at Harvard.

In Fuentes' application, U.S. authorities say that even though he had been deemed ineligible for an entry permit for being a member of a banned organization in the early 1960s, an apparent reference to the Mexican Communist Party, he should be given a visa to go to Harvard because he is an "outstanding 20th Century Mexican author."

The FBI released the documents after NYCity News Service filed a request in September 2012 for Fuentes' FBI file under the Freedom of Information Act, which requires the agency to release certain documents to the public once a person has died.