A record number of LGBTQ candidates are running for office. Here's why.

Washington (CNN)The governor of Texas. A US congresswoman from Massachusetts. A US Senator from Delaware.

These are just three of the offices LGBTQ candidates are hoping to assume this November in the midterm elections. Across the country, LGBTQ candidates are running in record numbers, mostly as Democrats but some as Republicans.
Some are running to challenge state and local anti-LGBTQ policies. Others are running as a rebuke to President Donald Trump's administration.
And in interviews with CNN, most candidates agreed that increased acceptance of the LGBTQ community has contributed to their ability run and said that visibility and representation are important.
    When Lupe Valdez, the Democratic nominee in the Texas' governor's race, first ran for Dallas County Sheriff in 2004, she sought the endorsement of the Latino Peace Officers Association. Making her pitch to the group, she says the head of the association told her, "We will never endorse a lesbian. You're going to shame us even though you're part of the Hispanic community."
    "Of course, I thanked them and walked out to my car," Valdez told CNN. "You know, I teared up a little bit because being a lesbian is just part of who I am."
    This election cycle, Valdez is one of more than 400 LGBTQ candidates the Victory Institute has identified running for office this election cycle. The group, which identifies and trains potential LGBTQ candidates, says that's more LGBTQ candidates to run for office in an election year than ever before.
    According to the Institute's 2018 "Out for America" report, openly LGBTQ elected officials hold 559 positions nationwide. But in order to achieve equitable representation, the organization says the country would need to elect 22,827 more LGBTQ individuals nationwide.
    This year's pool includes several high-profile Democratic LGBTQ candidates: Chelsea Manning running for Senate in Maryland, Rep. Sean Patrick Maloney running for New York Attorney General and Cynthia Nixon running for governor of New York.
    Valdez still won her election even after failing to snag the group's endorsement and served as Dallas County Sheriff for 13 years. After her victory, she recalled, she met a woman at the airport.
    Lupe Valdez
    "Here comes this Anglo woman, obviously well-to-do, from another county, probably Republican, trying to tell me how excited she was about my election. As we talk in my mind I'm thinking -- What does this woman have in common with me?" Valdez said.
    The woman said her son was at one point in the closet and depressed, and that she was once worried he would take his own life. Then the woman asked for a picture.
    "She said to me, 'I have to take a picture because my son will never believe that I sat next to you,'" Valdez said, tearing up. "When she took the picture, she said your election validated my son."
    Alexandra Chandler, a Democrat running in a crowded House primary in Massachusetts, said that her decision to run in 2018 mirrored a common experience among female candidates running for public office: having to be asked multiple times by others before gathering the confidence to run.
    Chandler, a transgender woman, said a vow to serve her country after experiencing the September 11, 2001, terror attacks in New York City led her to work as an intelligence analyst until last year. In 2006, while she was still serving in the intelligence community, she decided to transition, fully expected to lose her job.
    She said during a town hall to discuss employee benefits, a colleague stood up and said, "This drag queen that's going to be in our bathrooms and all of this -- this is disgusting. This person should be fired." Half of the auditorium, she says, applauded her colleague's statement.
    "When I came out to my supervisors, I presumed I was going to be fired or it would be a process of me leaving quietly. But instead what happened instead was, even though it would have been within their rights to fire me, the chain of command -- mostly conservative people who had never met a trans person before, knowingly at least -- they stood by me," Chandler told CNN. "That just gives me a faith and optimism that I think people have responded to well in this campaign. People crave that. And it's not faith and optimism that's just words and talking points. It's grounded in real experience."
    Chandler attributed the rise in LGBTQ candidates to "self-defense combined with confidence."
    "When one is under attack you can either crouch down, hide, despair. Or you can stand up and fight. For a lot of LGBT people, it's about standing up and fighting," she said.
    Christine Hallquist, a Democrat hoping to become Vermont's next governor, expressed similar sentiments. The former CEO of Vermont Electric Coop, who is running on a platform of environmental and economic justice, transitioned in 2015.
    "I was sure I was going to lose my job. I was sure I was going to lose respect. But that didn't happen," Hallquist said. "So this describes the beauty of Vermont. So now I'm at this point where I can't do enough to give back to Vermont."