 They are believed to be formed either by continental glacier (terminal moraine) or by clay diapirs, or by the combination of both factors.The western hill, Tornimägi, had an outpost during the Great Northern War.During World War I, Pargimägi with its defensive structures was part of Saint Petersburg's preliminary defence line.