The city was originally built on a hilly peninsula surrounded by the River Aare, but outgrew natural boundaries by the 19th century.