  We present a cosmological model arising from a gravitational theory with an
infinite tower of higher-order curvature invariants that can reproduce the
entire evolution of the Universe: from inflation to late-time acceleration,
without invoking an inflaton nor a cosmological constant. The theory is
Einsteinian-like. The field equations for a
Friedmann-Lema\^{i}tre-Robertson-Walker metric are of second-order and can
reproduce a late-time evolution that is consistent with the acceleration
provided by the cosmological constant at low redshift. Our results force us to
reinterpret the nature of dark energy, becoming a mechanism that is inherited
solely from the geometry of spacetime.
