The center , which still had its medieval character until then , was almost levelled .
The center , which had retained its medieval character until then , was almost levelled .