Toronto police have arrested and charged two men after an officer was hit in the forehead by a shotgun pellet while pursuing two suspects in the aftermath of an attempted armed robbery at a west-end Beer Store on Saturday night.

Two officers were called to a Beer Store at 323 Symington Ave. around 7:30 p.m. and saw the two alleged robbers flee the scene.

During a foot chase that followed, one of the suspects turned and fired at one of the officers pursuing him.

Staff Sgt. Mark Tilley told CTV.ca on Sunday morning that the officer who was shot was treated and released from hospital.

"The officer received a minor -- if you can call it (that) -- gunshot injury to his forehead," he said.

"He was treated and released from hospital. He's fine. He's very lucky."

A statement from Toronto police issued Sunday morning indicated the firearm was a shotgun pellet.

As police rushed to secure the scene on Saturday night, there was further chaos when a police cruiser that had been left parked on nearby railway tracks that cross Wallace Ave. was hit by a Via train. No injuries were reported, but the cruiser sustained major damage, CTV Toronto said late Saturday night.

Police said the cruiser couldn't be moved because its battery had died. Investigators are also looking into the circumstances of the crash.

Jeron Powell, 32, is facing 10 robbery and weapons-related charges, while Craig Buckle, 29, faces seven robbery and weapons charges.

Both men were remanded into custody after making a court appearance at 1 p.m. Sunday at Old City Hall.

According to Tilley, the Toronto police hold up squad is now in charge of the investigation.

The shooting capped a violent week in Toronto, in which a 19-year-old man was shot twice on the Osgoode subway station platform on Thursday morning, shots were fired at a Honda civic travelling on Hwy. 401 on Thursday night and two people were later wounded in a shooting at Tonic night club early Saturday morning.

With a report from CTV Toronto's Dana Levenson