More police officers were killed by attackers in 2018 than in 2017, but it's still, fortunately, a very rare occurrence according to FBI statistics released this week.
In all, 106 law enforcement officers were killed during the line of duty last year. Of those, 55 were killed by felonious attacks, and 51 died a result of accidents. In 2017, 46 officers were killed in attacks, and 47 died in accidents.
It's still, nevertheless, a decline in the number of police officers killed in 2016, so this might not be a harbinger of some increasingly dangerous environment for police. Police officers are far less likely to die on the job than people in any number of other fields, like truck drivers or roofers.