Travelers are now allowed to pack marijuana along with their other travel essentials when flying out of Los Angeles International Airport.

A statement published on LAX's website says: "In accordance with Proposition 64, the Los Angeles Airport Police Department will allow passengers to travel through LAX with up to 28.5 grams of marijuana and eight grams of concentrated marijuana."

While the federal government still considers marijuana illegal, the sale and recreational consumption of the drug has been legalized in California and eight other states.

In a policy that would have seemed unheard of only a few years ago, travelers are now allowed to pack marijuana along with their other travel essentials when flying out of Los Angeles International Airport.

Airport police say they will not stop or arrest you if they find marijuana in your carry-on bags.

LAX announced the new marijuana policy in a statement on its website that reads in part: "In accordance with Proposition 64, the Los Angeles Airport Police Department will allow passengers to travel through LAX with up to 28.5 grams of marijuana and 8 grams of concentrated marijuana."

Proposition 64 was a referendum to legalize recreational marijuana that went into effect on January 1.

NBC 4 Los Angeles reported that the Transportation Security Administration could still prevent people from boarding flights if the federal agency finds marijuana in their carry-on bags but that airport police would not confiscate it unless it exceeds California's legal amount.

While the federal government still considers marijuana illegal, nine states — California, Colorado, Washington, Oregon, Nevada, Maine, Vermont, Alaska, and Massachusetts — and Washington, DC, have legalized the sale and recreational consumption of the drug.

Some people used Twitter to comment on the new LAX policy:

—Dj Possibly The Plug (@DjChubbESwagg) September 27, 2018