Change in accounting principal question

I know you adjust retained earnings retrospectively in earlier periods, but how far back do you go? My book says as of the beginning of the earliest year presented. I'm wondering if that means the very first year the company was in business, or maybe the first year the transaction originally hit the books.