What wars helped spread hereseies