Four militants taken in to custody