EVERETT (CBS) – An Everett Police officer shot a man early Monday morning.

According to the Middlesex District Attorney’s Office, the officer was sitting in his cruiser at Broadway and Second Street around midnight when he was told there was a man “walking up the street stating that he wanted to kill a police officer.”

READ MORE: Police Searching Woods In Abington For Missing 5-Year-Old Elijah Lewis

The officer, who has not been identified, stepped out of his car and was approached by the man.  That’s when there was an “encounter” between the two, investigators said.

“The 48-year-old male was subsequently shot by the officer and was transported to a Boston area hospital with what are believed to be non-life threatening injuries. Two knives were also recovered at the scene,” the D.A.’s office said in a statement.

The police officer was not hurt, but he was taken to a local hospital as a precaution.

READ MORE: 'Plan For Alternatives': Toys May Be In Short Supply This Holiday Season

No charges have been filed and no other information is available at this point in the investigation.

“Everyday our officers put their lives on the line to protect and serve the residents of Everett. Last night was no exception,” Everett Mayor Carlo DeMaria said in a statement.

“I want to first thank the individuals who reported the suspicious behavior of this individual to the officer nearby, and I want to thank the officer for his bravery and actions to subdue this individual with no loss of life.”

WBZ NewsRadio 1030’s Ben Parker reports

MORE NEWS: Lauren Astley's Father Works With Wayland Students To Raise Awareness About Teen Dating Violence