The pub will be named after an 800-year-old treaty which helped quell a rebellion