Farmers protesting against non-payment of compensation for their lands acquired for Gokul barrage turned violent today and attacked the police force that was trying to control the protest.