OAKLAND -- A man is in custody after an alert First Friday visitor saw him with a gun in the crowd, police said.

The man, whom police attempted to stop after they spotted him at the event, fled on foot and attempted to get rid of the gun before officers caught up to him and detained him, Oakland police said.

No one was injured and officers were still gathering more information on the incident.

Check back for updates.

Contact Katie Nelson at knelson@bayareanewsgroup.com.