Hillforts in Latvia offered not only military and administrative functions but they were also cultural and economic centres of some regions. Latvian hillforts generally were a part of a complex consisting of the main fortress, the settlement around it, one or more burial fields and nearby ritual sites. The first hillforts in Latvia, such as Daugmale hillfort, appeared during the Bronze Age.[26] Some were continuously inhabited until the late Iron Age.[27][28]