Terrorist act from a criminal act

What differentiates a terrorist act from a criminal act?