The document was supported by 222 lawmakers, while 209 voted against it

The amended package will still have to be passed by the House and sent to Trump for his signature, a process that could take days

Senate takes the first step toward ending the government shutdown, advancing a funding bill after weeks of gridlock.