People pass by US National flags in Washington, DC on Jan 9, 2021. (ANDREW CABALLERO-REYNOLDS / AFP)

WASHINGTON – The US Senate passed legislation on Thursday authorizing a record $858 billion in annual defense spending, $45 billion more than proposed by President Joe Biden, and rescinding the military's COVID-19 vaccine mandate.

Senators supported the National Defense Authorization Act, or NDAA, an annual must-pass bill setting policy for the Pentagon, by an overwhelming 83-11 bipartisan majority.

The fiscal 2023 National Defense Authorization Act (NDAA) authorizes $858 billion in military spending and includes a 4.6 percent pay increase for the troops, funding for purchases of weapons, ships and aircraft and support for Ukraine

The no votes came from a mix of liberals who object to the ever-rising military budget and fiscal conservatives who want tighter controls on spending.

With the House of Representatives having passed the measure last week, the NDAA next heads to the White House, where Biden is expected to quickly sign it into law.

The fiscal 2023 NDAA authorizes $858 billion in military spending and includes a 4.6 percent pay increase for the troops, funding for purchases of weapons, ships and aircraft and support for Ukraine.

The vote meant Congress has passed the NDAA every year since 1961.

"This is the most important bill we do every year," said Senator James Inhofe, the top Republican on the Senate Armed Services Committee, in a statement. This year's NDAA is named for Inhofe, who is retiring from the Senate.

ALSO READ: US defense firms 'in talks' to sell Vietnam helicopters, drones

Aid for Ukraine and judges

Because it is one of the few major bills that always passes, lawmakers use the NDAA as a vehicle for a range of initiatives.

This year's measure, which came after months of negotiations between Democrats and Republicans in the House and Senate, includes the State Department auth orization and legislation that would allow US Supreme Court justices and federal judges to shield their personal information from being viewed online.

A Lockheed Martin F-35 fighter jet takes part in a flying display at the Farnborough Airshow, in Farnborough, on July 19, 2022 (JUSTIN TALLIS / AFP)

The bill authorizes more funds to develop hypersonic weapons, close the Red Hill Bulk Fuel Storage Facility in Hawaii and purchase weapons systems including Lockheed Martin Corp's F-35 fighter jets and ships made by General Dynamics

The fiscal 2023 NDAA includes a provision demanded by many Republicans – and opposed by many Democrats – requiring the secretary of defense to rescind a mandate requiring that members of the armed forces be vaccinated against COVID-19.

A bid to amend the bill to award back pay and reinstate troops who refused the vaccine failed.

The bill provides Ukraine at least $800 million in additional security assistance next year.

The bill authorizes more funds to develop hypersonic weapons, close the Red Hill Bulk Fuel Storage Facility in Hawaii and purchase weapons systems including Lockheed Martin Corp's F-35 fighter jets and ships made by General Dynamics.

READ MORE: US to increase military presence in Australia, Japan invited too

The NDAA is not the final word on spending. Authorization bills create programs, but Congress must pass appropriations bills to give the government legal authority to spend federal money.

A bill to fund the government through Sept 30, 2023, – the end of the fiscal year – is expected to pass Congress next week.