A Toronto police officer was forced to shoot an out-of-control dog yesterday afternoon after it attacked a number of Newmarket residents, including a 75-year-old woman.