A dance instructor and his partner have reached an agreement with Fox, 19 Entertainment, and Dick Clark Productions to resolve a six-year-old conflict about who came up for the idea to hit dance reality show.

Fox Broadcasting, 19 Entertainment and Dick Clark Productions have settled a lawsuit that claimed that the concept for the hit reality show So You Think You Can Dance was stolen from a celebrity dance instructor and his partner. The agreement comes on the verge of a trial that was scheduled to begin next Monday.

John Cassese, who calls himself the "Dance Doctor," filed the lawsuit six years ago, claiming that he and his writing partners registered a concept with the WGA entitled "So You Think You Can Dance." The registration described a 60-minute elimination-style contest each week where dancers around the nation competed by being forced to master unfamiliar dance styles, paired with others, and wore elaborate costumes in front of live audiences.

The plaintiff hired an agent, who shopped it around in 2003, including to CAA. Allegedly, agents then divulged the ideas to 19 and DCP in formal pitch meetings held at Fox. The defendants argued there was no evidence that CAA had accepted the treatment or that the plaintiffs weren't merely attempting to seek to hire CAA as their own agents.

Cassese's breach of contract lawsuit was dismissed twice by a Superior Court judge but revived each time by an appeals court. Last month, a judge refused to dismiss the lawsuit for a third time, leading to a potential showdown before a jury on whether CAA brought the dance instructor's submitted idea to the producers, and whether they failed to pay for use of the idea per an "implied-in fact contract."

Now, the parties says they have reached a settlement on "mutually acceptable terms." Details haven't been revealed. A notice of settlement has been filed in the case.

Jim Spertus represented the plaintiffs. The defendants were represented by Michael Niborski at Pryor Cashman and Mark Holscher and Dianna Torres at Kirkland & Ellis.

E-mail: eriqgardner@yahoo.com

Twitter: @eriqgardner