A sketch shows Alexander Khalilov, the suspect in a triple homicide involving three family members appearing in court. (Alex Tavshunsky/CBC)

A 22-year-old man has been charged with three counts of second-degree murder after three members of his family were found dead in a west-Toronto townhouse Monday evening.

Police say the victims — two women and one man — are between the ages of 49 and 76. The names of the deceased and the cause of death has not been released by police.

Alexander Khalilov appeared in court Tuesday afternoon.

Police were dispatched to a townhouse complex at 65 Old Burnhamthorpe Rd., near Mill Road and Burnhamthorpe Road, just before 7 p.m. Monday after receiving a 911 call.

Toronto police Insp. Tim Crone said a family member arrived home and discovered the three victims.

The initial investigation led police to identify a suspect and locate him in a nearby ravine in the area.

"There was a brief standoff with the suspect — he was armed (with a knife)," said Crone, noting that "tensions were high."

65 Old Burnhamthorpe Rd Toronto, ON

"Officers did a very good job calming the situation, calming the individual, and got him to come into custody without incident," he said.

Police said they haven't confirmed the identification of the three victims and aren't able to comment on any relationship the deceased may have to one another.

"It's still very early in the investigation," said Crone. "Homicide has taken over as the lead investigators for the scene."

News of the killings left neighbours shocked. CBC's Trevor Dunn spoke with Dan O'Sullivan, who lives near the house where the killings took place.

"I know people in this place, I see them all the time," said O’Sullivan. "We walk our dogs together. This is going to be a stunned little area in here for the next three or four days."

With files from CBC's Trevor Dunn