Star Trek Into Darkness actor Zachary Quinto is set to guest star in HBO's Girls.

HBO has not yet revealed character details, but confirmed that Quinto will appear in at least one episode of the fourth season.

The actor was photographed shooting scenes alongside Girls creator and star Lena Dunham in New York earlier this week. He also posted a selfie of himself on Instagram, which appears to be from his trailer on the set of the show.

Quinto has previously appeared on the small screen in the shortlived but much-loved Heroes, and in American Horror Story.

Dunham, Allison Williams, Jemima Kirke and Zosia Mamet will be joined in the new season by new guest stars Jason Ritter, Marin Ireland, Gillian Jacobs and Peter Mark Kendall.

Season four of Girls will debut in 2015.