In an interview this week with The New York Times, Raul Castillo said that playing gay on the HBO dramedy Looking has helped his acting career.

HBO will air Looking: The Movie, which ends the series about a group of gay men living in San Francisco, on Saturday, July 23.

On the show, Castillo, 38, played a love interest for Jonathan Groff's character, a programmer who recently moved to San Francisco looking for love.

Castillo told the Times that as one of the few straight cast members he always felt as if his job was at risk. “I learned a lot about gay male intimacy on the show,” he said.

“Early on, people would ask me if I thought playing a gay character would pigeonhole me,” Castillo said. “If anything, because the character had the profile that he did, it's opened up more doors than anything.”

Castillo added that he was “happy” with the show's finale. “It went where I wanted it to go,” he said.