With only hours left in the legislative session, the Illinois General Assembly approved concealed carry legislation Friday.

"Don't let your constituents go off the cliff, this is a historic day for law abiding gun owners in this state," the bill’s sponsor, State Rep. Brandon Phelps (D-Harrisburg), told the Chicago Tribune.

The legislation, HB 183, passed by a 45-12-1 vote in the Senate. The House approved the bill by an 89-28 vote.

The bill mandates 16 hours of training before a permit is issued. It also prohibits concealed carry on public transportation, casinos, government buildings and stadiums. Carrying a concealed firearm will be permitted in restaurants and bars, but only in institutions with less than half of the sales going toward alcohol. Firearms are also permitted in cars.

Applicants, who are susceptible to local law enforcement review, will have to renew their permit every five years. Gun owners who have their concealed carry application turned down could appeal to a seven-person appointed review board.

In contrast to Phelps’ previous legislation, the bill does not override “home rule” laws in municipalities of more than 25,000 people. As a result, Chicago’s assault weapons ban will not be affected. But cities that haven’t already enacted such laws will be prohibited from doing so in the future, and thus the bill needed three-fifths votes in both chambers to pass.

"I want to thank Speaker Madigan, President Cullerton, Senator Raoul, Senator Forby and Representative Phelps for their leadership in crafting HB 183 in response to the mandate imposed upon the state by the federal court," said Chicago Mayor Rahm Emanuel in a statement after the bill's passage. "This bill strikes a better balance between the rights of gun owners and the unique public safety needs of Chicago and other municipalities than previous proposals. This legislation will allow Chicago to set its own policies on assault weapons, high-capacity ammunition magazines, reporting of lost and stolen guns, and the location of gun shops. It also prohibits carrying loaded guns on public transportation, in our parks and schools, in bars and in government buildings."

"We worked really hard on this bill to come up with something that we think everybody can live with, but probably everybody won't be happy with," State Sen. Gary Forby (D-Benton), sponsor of the legislation, told the Tribune. "But it's something we need to do."

Following a December ruling by the 7th Circuit U.S. Court of Appeals that Illinois’ concealed carry ban is unconstitutional, Illinois lawmakers were given until June 9 to draft a new law.

State Sen. Kwame Raoul (D-Chicago), who drafted legislation with stricter provisions, such as FOID Card verification, spoke out against the newly-passed legislation.

“Although I led initial negotiations on this bill, I cannot support it in its final version,” Raoul said in a statement following the bill’s vote.

Although Raoul voted in favor of the bill, he said his “vote should not be mistaken as an expression of support for the final bill.” He said because many elements of the legislation, such as tough penalties on carrying firearms while intoxicated, were included upon Raoul’s personal insistence, he felt compelled to cast a “yes” vote.

“I remain dedicated to finding alternative ways to keep dangerous weapons out of the hands of people who should not have them,” he said, adding his legislation, HB 1189, which would require gun owners to report a lost or stolen weapons, is working its way through the legislature.

According to the Chicago Tribune, neither the City of Chicago nor the National Rifle Association offered support or opposition to the concealed carry legislation that will now advance to Gov. Pat Quinn's desk.

"We got a bill everybody can live with," said Forby.