Medieval City between Mountains and Sea