In the late 1970s, Foucault wrote books about the history of sexuality. Foucault began to spend more time in the United States, at the University at Buffalo. In 1978 Foucault toured Iran to support the new revolutionary Islamic government. Foucault died of an AIDS-related illness in Paris on 26 June 1984.