The House voted Friday to extend emergency funding for victims of the Zika virus.
The measure, which passed with bipartisan support, is intended to keep the federal government open to keep people from returning to the United States from infected areas.
The House also passed a measure to prohibit the federal Bureau of Land Management from issuing any new federal lands to oil and gas drilling companies until the agency has completed a study on the potential impact on wildlife and the environment.
The bill also repeals a ban on drilling on federal lands, which President Donald Trump has threatened to eliminate.
The measures came just two weeks after Trump signed a sweeping executive order to end federal funding for sanctuary cities, a move critics said was intended to encourage state and local governments to withhold funding for the U.S. Immigration and Customs Enforcement agency from sanctuary cities.
The Senate voted Friday, in a 419-3 vote, to pass a similar measure.
The Senate also passed another measure that would block funding for certain states from providing any funding to sanctuary cities or local police departments that refuse to cooperate with federal immigration officials.
The final measure in the Senate passed by a vote of 50-51.
The House passed the Senate bill by a margin of 348-46.
Democrats in both chambers are pressing the Trump administration to reverse the executive order, which they said had made it harder to fight the virus in the U and to protect people from its spread.
The White House has said it will defend the order.
The Senate also approved a measure that directs the Bureau of Alcohol, Tobacco, Firearms and Explosives to require a background check for anyone who seeks to buy a firearm, gun parts or ammunition.
It also directs the Federal Bureau of Investigation to expand the number of agents who investigate gun crimes and to increase funding for gun crimes.
The White House is expected to brief lawmakers on the bills Friday.
The bill passed on a party-line vote, with Republicans joining Democrats in supporting the measures.
House Speaker Paul Ryan said the measures were needed to protect American citizens from the virus, saying that the federal emergency measures were critical to protecting American lives.
The legislation also contains $15 billion to fight Zika.
The measure will be subject to a filibuster, but it’s not clear whether it would succeed.