this made him more than a little unpopular with the village councils , and he was himself hanged as a witch by an east anglian village who had sensibly realized that they could cut their overheads by eliminating the middleman .