The dog was shot through the kitchen window. (Submitted by Drew Jelley)

A western P.E.I. man who fired a gun through his neighbour's kitchen window and killed his dog was sentenced Tuesday to six months in jail.

Joseph Clements, 68, of Roseville admitted to the shooting but claimed he did it out of fear.

His wife testified during the sentencing hearing that Clements was afraid of dogs and had been attacked by the neighbour's dog.

In Summerside provincial court, Judge Jeff Lantz described the shooting as planned and premeditated. Lantz said a person's home is supposed to be their castle, and Clements violated that sanctity.

Clements pleaded guilty in May to careless use of a firearm, wilfully causing pain and suffering to an animal, mischief and unlawful storage of a firearm. The Crown sought six to 12 months in jail, while the defence argued for a conditional sentence.