Chirlane McCray said she’s backing a program to help LBGT youth because she was a lesbian before marrying Mayor Bill de Blasio.

“When I came to New York City, long ago back in 1977, I identified as a lesbian, so I know intimately the struggles that young people have had,” McCray said Tuesday morning on NY1.

“I was not rejected by my family like so many of these young people are, but it’s really difficult,” she added.

McCray touted a new program on the cable channel’s morning show that’s aimed at providing “workforce development program for runaway and homeless youth who are often LGBTQI.”

The new program will help eligible 16- to 24-year-olds score three years of paid internships, job training and mental health support through the city’s Department of Youth and Community Development and the public-private NYC Center for Youth Employment partnership.

A price tag was not immediately available and McCray’s spokeswoman did not immediately respond to a message seeking additional comment.

The first lady was also set to appear at a City Hall rally for gay rights later Tuesday morning as the US Supreme Court hears arguments in a case that could decide if anti-discrimination protections apply to LGBT employees.