Brian Riley was motivated by messages he said he received from God, according to investigators.