John I held King John prisoner from 1262 to 1264 . In 1273 , the King of Denmark married Eric V 's daughter , Agnes of Brandenburg .
John I held King Eric V prisoner from 1262 to 1264 . In 1273 , the King of Denmark married John 's daughter , Agnes of Brandenburg .