AUSTIN, Texas — The "Pride Ride" at Love Cycling Studio near Downtown Austin involved lots of leg pumping and sweating, all for a good cause.

Dozens turned out for the spin class held at the studio on Pressler Street off 5th Street on Saturday morning. 

The class, held on the last weekend of Pride Month, raised money for Out Youth, a nonprofit that helps LGBTQ youth.

Organizer and cycling instructor Bryan Gonzales said this weekend is also about remembering a historic event: the 50th anniversary of the uprising at the Stonewall Inn in New York.

RELATED: 

A colorful history: How did the rainbow flag become the banner of Pride?

Thousands gather at Stonewall 50 years after LGBTQ uprising 

50 years later: The Stonewall's path from illicit dive to national monument

Austin ranked as one of the most LGBTQ+ inclusive cities in the U.S.

"It was the start of the gay liberation movement here in America, and 50 years since and we still have a long way to go. But we also have a lot to celebrate," Gonzales said.

Ryn Gonzales is the Operations and Program Director for Out Youth. She said the organization is a life-saver for some LGBTQ youth.

"OutYouth is a 30-year-old nonprofit that's based here in Austin that serves LGBTQIA youth and their families. We do that through a number of life-saving and life-changing programs," Ryn said. "But at the end of the day, we love and acknowledge, accept everyone that walks through our doors, no matter how they're showing up."

Greenbelt Kombucha also sponsored the event.

WATCH: Leander Public Library pride event draws protesters

PEOPLE ARE ALSO READING:

'We’re reaching a breaking point': 3 Austin animal shelters reach critical capacity, waive adoption fees

Theranos CEO Elizabeth Holmes to go on trial next July

Matthew McConaughey: Austin not what it used to be

Courtney Carano Smith, ex-wife of Zach Smith, to blog about Tom and Michelle Herman