Suspect was taken into custody within hours after the attack.