The pilot episode of the television series Veronica Mars premiered on UPN on September 22, 2004. It was written by series creator Rob Thomas, and directed by Mark Piznarski. Set in the fictional town of Neptune, the pilot introduces Kristen Bell as the title character, a high-school student moonlighting as a private investigator under the wing of her detective father. Two separate mysteries are presented in the episode, which are explored throughout the season and resolved in the final and penultimate episodes.