According to police, a group of Naxalites had gathered in the forest on the Maharashtra-Chhattisgarh border for the last two days and was planning an attack ahead of the Maharashtra assembl elections.