Officials believe the suspect acted alone and was not affiliated with any group.