Rome's Mausoleum of Hadrian, usually known as Castel Sant'Angelo was completed in 139 AD and converted to a fortress around 400 AD. It's still a fortress (and a museum) today.