By applying Principal Components Analysis (PCA) to solar magnetic synoptic maps in cycle 21-23 obtained with Wilcox Solar Observatory we derived analytical expressions for two principal components and their summary curve of solar magnetic field oscillations defined by dipole magnetic sources. In this paper we extrapolate backwards three millennia the summary curve describing solar activity and compare it with the relevant historic data. The extrapolated summary curve shows a remarkable resemblance to the sunspot and terrestrial activity reported in the past millennia: the Maunder Minimum (1645-1715), Wolf minimum (1200), Oort minimum (1010-1050), Homer minimum (800-900 BC), the medieval warm period (900-1200), the Roman warm period (400-10BC). We note that Sporer minimum (1460-1550) derived from the increased abundance of isotope Δ14C is likely produced by a strong increase of galactic cosmic rays caused by a supernova Vela Junior occurred in the Southern hemisphere.