Medieval palace in a city