1941 to 1959. When Fromm moved to Mexico City in 1949, he became a professor at the National Autonomous University of Mexico (UNAM) and established a psychoanalytic section at the medical school there. Meanwhile, he taught as a professor of psychology at Michigan State University from 1957 to 1961 and as an adjunct professor of psychology at the graduate division of Arts and Sciences at New York University after 1962. He taught at UNAM until his retirement, in 1965, and at the Mexican Society of Psychoanalysis (SMP) until 1974. In 1974 he moved from Mexico City to Muralto, Switzerland, and died at his home in 1980, five days before his eightieth birthday. All the while, Fromm maintained his own clinical practice and published a series of books. Fromm was reportedly an atheist but described his position as "nontheistic mysticism". Psychological theory Beginning with his first seminal work of 1941, Escape from Freedom (known in Britain as The Fear of Freedom), Fromm's writings were notable as much for their social and political commentary as for their philosophical and psychological underpinnings. Indeed, Escape from Freedom is viewed as one of the founding works of political psychology. His second important work, Man for Himself: An Inquiry into the Psychology of Ethics, first published in 1947, continued and enriched the ideas of Escape from Freedom. Taken together, these books outlined Fromm's theory of human character, which was a natural outgrowth of Fromm's theory of human nature. Fromm's most popular book was The Art of Loving, an international bestseller first published in 1956, which recapitulated and complemented the theoretical principles of human nature found in Escape from Freedom and Man for Himself—principles which were revisited in many of Fromm's other major works. Central to Fromm's world view was his interpretation of the Talmud and Hasidism. He began studying Talmud as a young man under Rabbi J. Horowitz and later under Rabbi Salman Baruch Rabinkow, a Chabad Hasid. While working towards his doctorate in sociology at the University of Heidelberg, Fromm studied the Tanya by the founder of Chabad, Rabbi Shneur Zalman of Liadi. Fromm also studied under Nehemia Nobel and Ludwig Krause while studying in Frankfurt. Fromm's grandfather and two great-grandfathers on his father's side were rabbis, and a great uncle on his mother's side was a noted Talmudic scholar. However, Fromm turned away from orthodox Judaism in 1926, towards secular interpretations of scriptural ideals.