U.S. Congress has given approval to a short-term budget measure that prevents a government shutdown.

The approved legislation extends an Obama-era law that prevents the government from interfering with state-level medical cannabis laws; specifically it prohibits the Justice Department (which includes the DEA) from using federal funding to do so. Although the extension is only until May 5th, the fact that the medical cannabis protection wasn’t removed is a promising sign that it will be retained in the future.

The proposal has been sent to the desk of President Donald Trump. Trump is expected to quickly sign the measure into law.

Congress will need to vote on a new spending bill by May 5th in order to keep the government running, and the protections in place.