PESHAWAR: Over 40,000 security personnel will ensure security during the local government by-elections slated to take place in 23 districts of the province tomorrow (Sunday).