The Fuerza Pública fielded some 400 officers to safeguard those attending the championship match of the Costa Rican professional soccer teams.
They ended up detaining 24 persons. Most of the arrests were for possession of drugs.
The game was between Heredia and Cartago, and Heredia won.
Soccer games have been marked by violence, but not usually from the fans of these two teams.