The agreement was formalised in the Bulla Aurea, or Golden Bull