A Calgary man has been found guilty of killing his two young children and trying to kill his estranged wife almost two years ago.

On the night of Nov. 27, 2009, James Bing Jun Louie, 44, used a rope to strangle his son Jason, 13, and a pillow to smother his daughter Jane, 9.

Louie then tried to strangle his wife Ying Tang as she arrived at the couple's former home in the city's northwest.

si-cgy-children-deaths220

The bodies of Ying Louie's two children, aged 13 and nine, were found inside their northwest home in November 2009. Their father James Bing Jun Louie was convicted Thursday of killing them. ((CBC))

Court of Queen's Bench Justice Earl Wilson found Louie guilty Thursday of second-degree murder of his two children, and guilty of the attempted murder of Tang.

Louie was extremely depressed about his separation from Tang and the couple's pending divorce, and his actions were triggered by Zopiclone, a sleeping pill he was taking, court was told.

But Crown prosecutor Beverley Bauer argued that Louie planned and was completely aware of his actions.

In a statement released to the media on Thursday before the verdict was read, Tang said she was grateful "for the generous support that I received around me" since the tragedy.

Tang said she has been struggling with pain, sadness and fear since her children were killed.

She also praised the work done by everyone at the Calgary Police Service and Crown counsel's office, and the 911 dispatcher who was able to trace her frantic cellphone call and send help in time to save her life on the night of the attack.