The House passed the bill on Tuesday.
The Senate has now passed it.
It'll now head to the White House for US President Biden to sign into law, thus averting a government shutdown.
The funding bill will keep federal agencies running for another two months. it left out aid to Ukraine and Israel.