What were German Spitzes bred for?

What were German Spitzes bred for?
German Spitzes were bred primarily as watchdogs. Their alertness and tendency to bark at unfamiliar sounds made them well-suited for guarding homes and farms. They were also bred to be loyal companions, offering both protection and affection to their families.