Magnetic studies of lunar rocks indicate that the Moon generated a core dynamo with surface field intensities of ~20 to 110 #956;T between at least 4.25 and 3.56 billion years ago (Ga). The field subsequently declined to <~4 #956;T by 3.19 Ga, but it has been unclear whether the dynamo had terminated by this time or just greatly weakened in intensity. We present analyses that demonstrate that the melt glass matrix of a young regolith breccia was magnetized in a ~5 ± 2 #956;T dynamo field at ~1 to ~2.5 Ga. These data extend the known lifetime of the lunar dynamo by at least 1 billion years. Such a protracted history requires an extraordinarily long-lived power source like core crystallization or precession. No single dynamo mechanism proposed thus far can explain the strong fields inferred for the period before 3.56 Ga while also allowing the dynamo to persist in such a weakened state beyond ~2.5 Ga. Therefore, our results suggest that the dynamo was powered by at least two distinct mechanisms operating during early and late lunar history.