Ljubljana is the capital and largest city of Slovenia. It is located in the centre of Slovenia and has a population of 279000 inhabitants. The area around Ljubljana has been settled at least since 2000 BC. Ljubljana acquired the town privileges at some time between 1220 and 1243 and later became part of the Habsburg empire. Nowadays Ljubljana is a small, but picturesque town located on the Ljubljanica river, below the castle of Ljubljana. The historic centre is in a very good state, having in recent years been renovated.