Why were Washington DC's CCTV cameras infected with ransomware just before inauguration?

Someone hacked into 70% of DC’s surveillance cameras, preventing footage from being recorded for three days.

Article Link: http://www.ibtimes.co.uk/why-were-washington-dcs-cctv-cameras-infected-ransomware-just-before-inauguration-1603922