However, he had written other books before that, including a few non-fiction books about history and mythology, which were self-published.
It's important to note that his most famous series, Percy Jackson & the Olympians, wasn't published until 2005.