The Goldenes Dachl was designed to serve as a royal box where the Emperor and his imperial entourage could sit in state and enjoy festivals, tournaments, and other events that took place in the square below. The Goldenes Dachl was built in honor of Maximilian's marriage to Bianca Maria Sforza of Milan. Not wishing to alienate the allies gained by his first marriage, to Maria of Burgundy, he had an image of himself between the two women painted on his balcony.