Illinois Democratic Gov. Pat Quinn triggered a backlash from his own party as well as the NRA on Tuesday after he unilaterally changed legislation meant to allow the carrying of concealed weapons.

In a challenge to gun-rights supporters, Quinn moved to cap the number of firearms and rounds that can be carried by Illinois residents and ban guns from any place that serves alcohol.

The move was a nod to the governor’s gun-control base as the state faces a court-ordered July 9 deadline to allow concealed-carry.

But, by using what is known as his “amendatory veto power,” Quinn could imperil the carefully crafted deal, which now heads back to the legislature.

Some lawmakers have already vowed to reject Quinn’s new provisions.