Hundreds of fans took over the streets after the San Francisco Giants beat the St. Louis Cardinals to win the National League pennant on a rainy Monday night.

Fans decked out in Giants’ gear briefly took to Mission Street, from 22nd to 24th streets, as passing cars blasted their horns. Dozens of police officers — some in riot gear — watched as fans celebrated. The commotion ended around 10:30 p.m.

The Giants will host the Detroit Tigers in game one of the World Series on Wednesday. First pitch is at 5 p.m.

Rain or shine, Mission Street brings it twitter.com/kevinmonty/sta… — Kevin Montgomery (@kevinmonty) October 23, 2012

Be advised Mission Street was all kinds of clustered especially starting at 24th Street and going northward! #SFGiants fans chill a bit. — jenarchie (@jenarchie) October 23, 2012

Poor showing in support of the Giants by SFPD tonight twitter.com/kevinmonty/sta… — Kevin Montgomery (@kevinmonty) October 23, 2012

Hear honking on the street at http://2.recordertheapp.com/59eb47acb1c8bd3feef3/, via @Burritojustice