Why are there so many boars in Barnard Castle?| St Mary's

There are mysterious carved stone boars in Barnard Castle, perched above doorways and embedded in walls. And they're all to do with Richard III.