The state's attorney general tried to block the giveaway arguing it was an illegal bid to buy votes.