The Roman Imperial Palace of Milan was an imperial residence built by Emperor Maximian when Mediolanum (modern-day Milan) became the capital of the Western Roman Empire, a role it held from 286 AD to 402 AD. On this occasion, Maximian adorned the city with various monuments, and a significant portion of the city (the western part, a true city within the city) was reserved for the imperial palace and its district, which served as the residence of the emperor and his court. It included reception and administrative rooms, private baths, permanent military garrisons, private places of worship, and residential areas.