A man who claims he wrote the pilot for the ABC series "Lost" is suing the network for replicating his work.

Anthony Spinner alleges that he was paid $30,000 to write a TV pilot in 1977.

The pilot, which eventually became the 121-page script for "Lost," was rejected in 1977, 1991 and 1994.

But to his surprise, the network created an exact replica with Touchstone Television in 2004.

According to the paper obtained by TMZ, Spinner listed the similarities of the ABC show and his written pilot, including lead characters attempting to kill one another, committing suicide, and dying of illness.

Also, the characters in the hit show are allegedly ripped off from his creations.

Spinner is suing for damages, and is seeking a cut of royalties, profits and more. He tried to sue a few years ago, but the suit was dismissed for procedural reasons.