Calgary police have made an arrest in connection to a 15-year-old cold case of a woman who was sexually assaulted in her home in July 1999.

She had just stepped inside, leaving her baby on the back patio, when she was confronted and attacked by an unknown man.   

"The victim attempted to defend herself from her attacker by grabbing a nearby pen and attempting to stab the offender numerous times," said police in a release.

"The offender left through the front door of her house, and after locking it behind him, she immediately ran to check on her baby on the back patio, who was unharmed, and called police."

Advances in technology led to confirmation through DNA of a man now living in British Columbia.

A 40-year-old man from Fort St. John has already made his first Calgary court appearance.