Actor Harry Hamlin says playing gay in the groundbreaking 1982 film Making Love ended his career as a leading man in feature films.

The 62-year-old Hamlin is best known for his television roles, such as playing Michael Kuzak in the legal drama L.A. Law and Jim Cutler in the period drama Mad Men.

In Making Love, Hamlin played a gay man involved in an affair with a closeted married man, played by Michael Ontkean.

“[The film] was way ahead of its time,” Hamlin told Watch What Happens Live host Andy Cohen. “It was before the AIDS issue had risen yet, so we could tell a love story without that being a part of it. We didn't have to address that at all in this film, so it was very innocent.”

“What it did was [it] created a transition for me between feature film to television. I didn't work in feature films ever again. That was the last feature I did.”

“It is something that I would repeat and do again today, even though there was a ruffle in my career after that,” he added.