Swarm of locusts attacked in Pilana and Sanghera villages of Rohtak on July 28. The farmers foiled the attack by spraying pesticides.