A man realizes he just turned an interesting age. The square of his current age happens to be the current year. He writes his age down in a journal, however, the ink is smudged. Assuming we know that he did not live longer than years, and he died in , what was his age?