A clash erupted between two groups after a survey was conducting on disputed land near Jumma Masjid at Nehru Maidan near Panemangalore in Bantwal taluk on Saturday.
When Bantwal rural police station SI Prasanna rushed to the spot to bring the situation under control, the groups prevented him from discharging his duty.
Later Bantwal town police SI Chandrashekar and other police personnel rushed to the spot and did a mild lathi charge to disperse the crowd.
The police have taken local resident Imran and his relative Lathif into custody.
A dispute on 1.49 acres of land belonging to the mosque had reached the high court. Following court direction, a survey was carried out till evening under tight police security.
When mosque former secretary Taslim was returning home after the survey, Nehru Nagar masjid secretary Imran and others waylaid the car and assaulted Taslim.
SI prasanna and three police personnel tried to disperse the crowd. However, tensions heightened as as a large number of people gathered at the spot.
The police have registered cases following complaints from both the groups.