San Francisco mayor Edwin Lee and Oakland mayor Jean Quan made a joint statement Sunday, one day after two men were shot following a preseason game between the 49ers and Raiders.

"Violence will not be tolerated in either of our stadiums," the mayors said in the statement. "The incidents at Candlestick Park last night ... are completely unacceptable and will be prosecuted to the fullest extent of the law.

"Fans come to our stadiums to enjoy an afternoon of football, not to be subjected to intimidation or violence. These games are family events and the types of images we witnessed last night have no place in our arenas."

Following the 49ers' 17-3 win over Oakland, a man wearing a T-shirt disparaging the 49ers in a profane manner was shot and taken to San Francisco General Hospital. He was in critical condition.

Police detained a suspect shortly after the shooting -- a Raiders fan found on a party bus in an RV section of the parking lot.

A second shooting victim was found with superficial wounds to his face near Pole V and was listed in stable condition.

San Francisco police Sgt. Frank Harrell said in the report that the victim in critical condition appeared to have been shot two to four times in the stomach.

The victim, who is believed to be 24, was discovered when he drove a pickup truck to the Gate A parking lot entrance and stumbled out of it.

The victims' names have not been released.

Multiple reports said one fan was "savagely" beaten in a men's restroom during the game and suffered life-threatening injuries.

Videos posted on YouTube showed other fights taking place in the stands.

In a statement, NFL spokesman Greg Aiello said the league deplores "the activities of a handful of fans" and pledges its "full support to Mayors Lee and Quan and to state and local law enforcement agencies."

"We are carefully reviewing the events to make sure we have a full understanding of the facts," Aiello said. "We will continue to work closely with our clubs and law enforcement agencies to support our fan conduct and stadium security initiatives. We want fans to have a safe and enjoyable experience at all of our games."

San Francisco head coach Jim Harbaugh addressed the issue in a conference call Sunday afternoon.

"I feel bad for the people who got injured and people that had to see that, those in the stands and anybody that had to witness that," Harbaugh said. "I feel bad we sponsor an event as an organization and those things happened, so I'm saddened."

Saturday's incidents evoked memories of another recent act of violence between fans of California pro sports teams.

Two men charged in the March 31 beating of San Francisco Giants fan Bryan Stow outside Dodger Stadium pleaded not guilty in a Los Angeles court.

Stow suffered severe brain injuries and remains hospitalized, but in a recent update his family said that he is slowly showing signs of improvement.