The Šarplaninac (, , ), formerly also known as Illyrian Shepherd Dog (Macedonian and Serbian: Илирски Овчар, romanized: Ilirski Ovčar, ), is a dog breed of the livestock guardian type. It is named after the Šar Mountains (Šar Planina), a mountain range in the Balkans that extends from the northwestern part of North Macedonia over to Kosovo and to northeastern Albania. It is a molosser-type mountain dog. In Ottoman times, the dogs of the breed spent the summer in the area of the Šar Mountains and the winter in Thessaly, depending on the needs of the sheep they are used to protect.