J.K. Rowling was 25 years old when she began writing Harry Potter and the Philosopher's Stone in 1990. The book was published in 1997.