WASHINGTON (AP) — The Senate on Tuesday approved a wide-ranging, $854 billion bill that funds the military and a host of civilian agencies for the next year and provides a short-term fix to keep the government open through early December.

The measure includes $675 billion for the Defense Department and boosts military pay by 2.6 percent, the largest pay raise in nine years. The bill also approves spending for Health and Human Services, Education, Labor and other agencies, including a 5 percent boost for the National Institutes of Health.

Senators approved the bill 93-7. The measure now goes to the House, where lawmakers are expected to approve it next week, days ahead of a Sept. 30 deadline for a government shutdown.

The measure now goes to the House, where lawmakers are expected to approve it next week, days ahead of a Sept. 30 deadline for a government shutdown.

The stopgap bill would not address President Donald Trump’s long-promised wall along the U.S.-Mexico border. GOP leaders have said they prefer to resolve the issue after the Nov. 6 elections.

The Senate vote comes as House and Senate negotiators work to approve a separate spending bill that would pay for the Interior, Agriculture, Transportation and other departments, as well as the Treasury and federal courts.

When combined with a measure approved last week, the three compromise spending bills would account for nearly 90 percent of annual federal spending, including the military and most civilian agencies.

Senate Appropriations Chairman Richard Shelby, R-Ala., called the bill approved Tuesday historic, noting that the package boosts funding for medical research and the opioid epidemic, while providing troops with the largest pay raise in nearly a decade.

“We are making real progress here” in approving spending bills before the new budget year begins Oct. 1, Shelby said. “We are going to make the appropriations trains run again.”

READ MORE: Why 2018 is looking like a wave election for House Democrats

The focus on agency-level spending bills marks a departure from recent years, when Congress routinely ignored individual spending measures in favor of giant “omnibus” spending packages that fund the entire government all at once — often after the new budget year had begun.

The Senate had not passed a spending bill covering Labor or Health in more than a decade before approving one last month.

Vermont Sen. Patrick Leahy, the top Democrat on the Senate Appropriations panel, said he was pleased that the compromise bill eliminates contentious policy riders that Leahy and other lawmakers call “poison pills.” Such riders frequently lead to a spending bill’s defeat even as lawmakers from both parties agree on a vast majority of spending priorities.

“We did our job and focused on what we should be doing — making responsible, thoughtful decisions about how to fund these federal agencies and leaving controversial policy issues out of it,” Leahy said in a refrain that has become familiar on the Senate floor in recent weeks as Leahy, Shelby and other leaders fend off partisan proposals.

Utah Sen. Mike Lee, a conservative Republican, blasted the bill for failing to address right-to-life issues.

“For the second straight year of unified Republican governance — unified pro-life governance — Congress’s annual spending bills will include no new reforms protecting unborn children, or getting federal taxpayers out of the abortion business,” Lee said.

The Senate had not passed a spending bill covering Labor or Health in more than a decade before approving one last month.

Despite Lee’s comments, under longstanding law and regulations, federal funds cannot be used to pay for abortions, except in cases of rape, incest or when the woman’s life is endangered. Planned Parenthood, a major provider of health care services, receives federal family-planning grants and separately provide abortions.

The bill approved Tuesday provides $147.9 billion for military equipment and upgrades, including $24.2 billion for 13 Navy ships, including two Virginia-class submarines and three fast-moving littoral combat ships. The relatively small ships are intended to operate in congested areas near the shore against small boats and mines.

The bill also includes $9.3 billion for 93 new F-35 aircraft and more than $4 billion for Black Hawk, Apache and other helicopters.

The 5 percent boost for NIH is the fourth straight significant increase for the biomedical research agency. The measure would hike spending for Alzheimer’s research to more than $2.3 billion, essentially quadrupling spending levels from four years ago on a disease that requires hundreds of billions of dollars for dementia-related care.

The bill also would provide a $206 million increase for treatment of opioid addiction, bringing spending to $3.8 billion to confront what lawmakers called an epidemic of abuse. It would also boost spending for the Head Start preschool program and increase maximum Pell Grants for college education.