Philadelphia District Attorney Larry Krasner is suing Elon Musk and his super PAC to block their million-dollar giveaway to registered voters, seeking to halt the lottery-style stunt that election experts, and the Justice Department, have warned might violate federal law.

Krasner is seeking an injunction: He argued in a filing Monday that the effort is an illegal, unregulated lottery, sidestepping the question of whether it violates laws against buying votes.

“America PAC and Musk are lulling Philadelphia citizens — and others in the Commonwealth (and other swing states in the upcoming election) — to give up their personal identifying information and make a political pledge in exchange for the chance to win $1 million. That is a lottery,” the suit alleges. “And it is indisputably an unlawful lottery. Under unambiguous Pennsylvania law, all lotteries in Pennsylvania must be regulated by the Commonwealth of Pennsylvania.”