Using the sharp log Sobolev functional (log entropy), we prove a qualitatively sharp rigidity result for ancient Ricci flows without sign condition on the curvatures. The result is also related to the backward limit problem of type II ancient Ricci flows.