Canadian man sentenced to 25 years for shootings that damaged pipeline and power station in Dakotas