In the south-west corner of the country, the Cape Peninsula forms the southernmost tip of the coastal strip which borders the Atlantic Ocean and ultimately terminates at the country's border with Namibia at the Orange River. The Cape Peninsula has a Mediterranean climate, making it and its immediate surrounds the only portion of Africa south of the Sahara which receives most of its rainfall in winter. The greater Cape Town metropolitan area is situated on the Cape Peninsula and is home to 3.7million people according to the 2011 population census. It is the country's legislative capital.