The suit by Democratic district attorney Larry Krasner is the first legal action to be brought over the sweepstakes.