NEW YORK (AP) — Joe Biden paid a visit Tuesday to the Stonewall Inn ahead of the 50th anniversary of an uprising that helped spark the gay rights movement.

The 2020 Democratic presidential candidate and former vice president spent about 30 minutes at the New York City tavern. He mingled with patrons, went behind the bar and took selfies with visitors.

READ MORE: Attorney Says Current Whereabouts Of Brian Laundrie, Gabby Petito's Fiancé, Are Unknown

“When people had the courage to come out and stand up and speak, say who they were, all of a sudden people realized, ‘Whoa, these folks are just like me,'” Biden said. “And I’m really proud of the folks in here and the courage it took for what they did.”

The bar is a reincarnation of the original Stonewall, which was the site of an infamous police raid in 1969.

At the time, police crackdowns on gay bars were commonplace, but at the Stonewall Inn, patrons and protesters resisted the officers.

READ MORE: Nearly 200 People Being Released From Rikers After Gov. Hochul Signs 'Less Is More Act,' Calls N.Y.'s Incarceration Rate 'A Point Of Shame'

Street protests continued for several days.

The bar is marking the anniversary of the uprising on June 28.

A park across from the Stonewall Inn is now a national monument to gay rights.

MORE NEWS: After Almost 2 Years, New York Philharmonic Returns For 180th Season

(© Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)