Its history goes back to the 9th century when prince Borivoj established a fortified settlement there.It grew as rulers made their own additions, which explains its mixture of styles. It has always been the seat of Czech rulers.