What were Brussels Griffons bred for?

What were Brussels Griffons bred for?
Brussels Griffons were originally bred to be small ratting dogs, used to catch and exterminate mice and rats in stables in Brussels, Belgium, in the 19th century. Over time, they also became popular as companion dogs due to their affectionate and lively nature.