Gregory Graniss (right), stands outside of Department 9 as his attorney speaks with the media.

Photo: Lea Suzuki, The Chronicle

Gregory Graniss (right), stands outside of Department 9 as his...

Image 2 of 7

A bus is vandalized in San Francisco after the Giants won the World Series on October 28, 2012.

Photo: Susana Bates, Special To The Chronicle

A bus is vandalized in San Francisco after the Giants won the World...

Image 3 of 7

Gregory Graniss (l to r), who allegedly smashed a Muni bus windshield after the San Francisco Giants won the World Series, is seen leaving his arraignment with attorney Douglas Rappaport at the Hall of Justice on Monday, November 5, 2012 in San Francisco, Calif.

Photo: Lea Suzuki, The Chronicle

Gregory Graniss (l to r), who allegedly smashed a Muni bus...

Image 4 of 7

San Francisco police chief Greg Suhr discusses developments of the arson and vandalism of a Muni bus last monday at the police station in San Francisco, Calif., on Wednesday, October 31, 2012. Chief Suhr thanks the public for assistance in identifying suspect Gregory Tyler Graniss, 22, of San Francisco from a San Francisco Chronicle photo.

Photo: Liz Hafalia, The Chronicle

San Francisco police chief Greg Suhr discusses developments of the...

Image 5 of 7

Gregory Graniss (center), who allegedly smashed a Muni bus windshield after the San Francisco Giants won the World Series, stands between attorney Douglas Rappaport (right) and his mother (left) as he leaves his arraignment in Department 9 at the Hall of Justice on Monday, November 5, 2012 in San Francisco, Calif.

Photo: Lea Suzuki, The Chronicle

Gregory Graniss (center), who allegedly smashed a Muni bus...

Image 6 of 7

Gregory Graniss (second from right), who allegedly smashed a Muni bus windshield after the San Francisco Giants won the World Series, leaves his arraignment with attorney Douglas Rappaport (right) and parents (left) at the Hall of Justice on Monday, November 5, 2012 in San Francisco, Calif.

Photo: Lea Suzuki, The Chronicle

Gregory Graniss (second from right), who allegedly smashed a Muni...

Image 7 of 7

District Attorney George Gascón says the man accused of vandalizing a bus must face the "consequences of bad behavior."

A man accused of smashing a Muni bus windshield during a riot after the San Francisco Giants' World Series sweep pleaded not guilty Monday, but his attorney said he was ashamed of his actions and hoped to make amends.

Gregory Graniss, 22, was charged last week with felony vandalism after a freelance photographer snapped a picture of him about to ram a police street barricade into the front window of an 8X-Bayshore express bus during the early morning of Oct. 29. Vandals destroyed the $700,000 bus minutes later by setting it on fire.

Photos of the incident were widely circulated through social media.

Graniss was arrested the next day at a San Francisco hotel and was released from jail after posting $40,000 bail, according to authorities.

Graniss, a former high school basketball player from Novato, arrived in court with his parents at his side. He remained quiet during the proceedings, letting his attorney do the talking.

"The San Francisco Giants' victory was amazing, and it really brought out the best in San Francisco and, unfortunately, the worst in Gregory," his attorney, Doug Rappaport, said outside court. Graniss stood next to him holding his mother's hand, his lips trembling. "He is very ashamed of his actions and very, very sorry. And now he's going to set an example by making amends, and he only hopes that San Franciscans will find it in their hearts to forgive him."

Graniss' alleged actions during the Giants riot were also caught on video, and Assistant District Attorney Lindsay Hoopes said the footage may result in more charges being filed against him.

Graniss' face crumpled after Hoopes made that statement in court.

District Attorney George Gascón reiterated his tough stance on the Giants rioters at a news conference after the arraignment and said Graniss will have to face the "consequences of bad behavior, and this is really bad behavior."

"It's nice to hear that he's apologetic," Gascón said. "Unfortunately, we have close to a million dollars in damages. ... We had people on that bus that were placed at risk."

The district attorney's office has received 15 cases so far from the Police Department and filed charges in 12 cases, Gascón said. Police Commander John Murphy said of the more than 30 people arrested during the riot, about 10 were cited and released and about 10 were taken to the station for public intoxication and released the next morning.

Investigators are still looking for many of the Giants riot vandals, including another man caught in a photo smashing the Muni bus and two arsonists caught on video setting fire to it.