A 47-year-old farmer, A. Murugesan, of Edayappatti, died on Wednesday, after being indiscriminately beaten with a lathi by a policeman in public, at the Pappinaickenpatti check-post under the Yethapur police station limits in Salem district on Tuesday evening.