Original: The Lightning Thief was accepted by Bantam Books in 1997 and later sold in an auction to Miramax Books before being released on July 28, 2005.
Simplified: The Lightning Thief was first bought by Bantam Books in 1997, then sold to Miramax Books. They published it on July 28, 2005.