The Bernese Mountain Dog was bred to be an all purpose farm dog. Their jobs included companionship, drafting, herding, and guarding. The breed originated in the Swiss Mountains of Switzerland and were developed before the 1800s. Today, the breed excels in many dog activities including guarding, herding, tracking, companionship, obedience, and drafting.
http://en.wikipedia.org/wiki/Bernese_Mountain_Dog
http://www.dogbreedinfo.com/bernesemountain.htm