(CNN) A Florida city is paying $600,000 in Bitcoins to a hacker who took over local government computers after an employee clicked on a malicious email link three weeks ago.

Riviera Beach officials voted this week to pay 65 Bitcoins to the hacker who seized the city's computer systems, forcing the local police and fire departments to write down the hundreds of daily 911 calls on paper, CNN affiliate WPEC reported.

The 65 Bitcoins, which equals $600,000, will come from the city's insurance, officials said.

Once the payment is made, they hope to get access to data encrypted by the hacker. Even with the plans to pay the ransom, the city said, an investigation is under way.

Riviera Beach has a population of 35,000 and is about 80 miles from Miami.

Read More