The city’s budget office estimated the attack will cost taxpayers at least $18.2 million in direct expenses and missed revenue after the mayor refused to pay a ransom in bitcoins valued at $76,000 on the day of the attack. A component leaked by the National Security Agency reportedly was involved in the Baltimore cyber attack.