Associated Press
In this frame grab taken from video provided by the New York Police Department, an unidentified man approaches New York City police officers with a hatchet, Thursday, Oct. 23, 2014, in the Queens borough of New York. The man injured two with the hatchet before the other officers shot and killed him, police said.

NEW YORK — New York City police Commissioner William Bratton says the hatchet attack on four rookie officers was a terrorist act by a homegrown radical.

Bratton said Friday the suspect, Zale Thompson, was a Muslim convert who ranted online against America, but had no clear ties to international terrorism. He believes Thompson was self-radicalized.

Thompson was killed by police. One officer is hospitalized with a head wound.

Bratton says investigators are trying to determine whether the attack was planned.

Police are examining Thompson's computer for clues. Bratton says investigators found that Thompson browsed for organized terror groups, as well as beheadings and the shooting in Canada earlier this week.

Authorities also are trying to determine if Thompson had any history of mental illness. But Bratton says he is comfortable calling it a "terrorist attack."