PHOTO: Senate TV
Now playing
02:34
Government shuts down after Senate vote fails
US President Donald Trump speaks before signing trade sanctions against China on March 22, 2018, in the Diplomatic Reception Room of the White House in Washington, DC, on March 22, 2018. / AFP PHOTO / Mandel NGAN        (Photo credit should read MANDEL NGAN/AFP/Getty Images)
US President Donald Trump speaks before signing trade sanctions against China on March 22, 2018, in the Diplomatic Reception Room of the White House in Washington, DC, on March 22, 2018. / AFP PHOTO / Mandel NGAN (Photo credit should read MANDEL NGAN/AFP/Getty Images)
PHOTO: MANDEL NGAN/AFP/AFP/Getty Images
Now playing
01:59
Trump: I'm considering vetoing spending bill
The U.S. Capitol is pictured on July 27, 2017 in Washington, DC.
The U.S. Capitol is pictured on July 27, 2017 in Washington, DC.
PHOTO: Zach Gibson/Getty Images
Now playing
00:56
What a government shutdown means for you
FILE- This Jan. 3, 2018, file photo shows the Capitol in Washington. The government is financed through Friday, Jan. 19, and another temporary spending bill is needed to prevent a partial government shutdown after that. (AP Photo/J. Scott Applewhite, File)
FILE- This Jan. 3, 2018, file photo shows the Capitol in Washington. The government is financed through Friday, Jan. 19, and another temporary spending bill is needed to prevent a partial government shutdown after that. (AP Photo/J. Scott Applewhite, File)
PHOTO: J. Scott Applewhite/AP
Now playing
01:10
Government shutdown: then and now
A view of Capitol Hill January 17, 2018 in Washington, DC. / AFP PHOTO / Brendan Smialowski        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
A view of Capitol Hill January 17, 2018 in Washington, DC. / AFP PHOTO / Brendan Smialowski (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/Getty Images
Now playing
02:40
How past government shutdowns played out
nancy pelosi house speech
nancy pelosi house speech
PHOTO: pool
Now playing
00:56
Pelosi sets record with historic House speech
Now playing
01:20
Schumer: Deal is sprout of bipartisanship
President Donald J. Trump talks on the phone in the Oval Office receiving the latest updates from Capitol Hill on negotiations to end the Democrats government shutdown, Saturday, January 20, 2018, at the White House in Washington, D.C.
President Donald J. Trump talks on the phone in the Oval Office receiving the latest updates from Capitol Hill on negotiations to end the Democrats government shutdown, Saturday, January 20, 2018, at the White House in Washington, D.C.
PHOTO: Joyce N. Boghosian/White House
Now playing
01:52
Photo of Trump during shutdown draws criticism
(CNN) —  

Legislation to prevent the government from shutting down failed Friday night in the Senate ahead of the midnight deadline. The total on the procedural motion was 50-49, but 60 votes were needed to advance the bill.

Here’s how every senator voted:

Alaska

Sen. Lisa Murkowski, Republican: YES

Sen. Dan Sullivan, Republican: YES

Alabama

Sen. Doug Jones, Democrat: YES

Sen. Richard Shelby, Republican: YES

Arkansas

Sen. John Boozman, Republican: YES

Sen. Tom Cotton, Republican: YES

Arizona

Sen. Jeff Flake, Republican: NO

Sen. John McCain, Republican: Did not vote

California

Sen. Dianne Feinstein, Democrat: NO

Sen. Kamala Harris, Democrat: NO

Colorado

Sen. Michael Bennet, Democrat: NO

Sen. Cory Gardner, Republican: YES

Connecticut

Sen. Richard Blumenthal, Democrat: NO

Sen. Christopher Murphy, Democrat: NO

Delaware

Sen. Thomas Carper, Democrat: NO

Sen. Chris Coons, Democrat: NO

Florida

Sen. Bill Nelson, Democrat: NO

Sen. Marco Rubio, Republican: YES

Georgia

Sen. Johnny Isakson, Republican: YES

Sen. David Perdue, Republican: YES

Hawaii

Sen. Mazie Hirono, Democrat: NO

Sen. Brian Schatz, Democrat: NO

Iowa

Sen. Joni Ernst, Republican: YES

Sen. Chuck Grassley, Republican: YES

Idaho

Sen. Mike Crapo, Republican: YES

Sen. Jim Risch, Republican: YES

Illinois

Sen. Tammy Duckworth, Democrat: NO

Sen. Dick Durbin, Democrat: NO

Indiana

Sen. Joe Donnelly, Democrat: YES

Sen. Todd Young, Republican: YES

Kansas

Sen. Jerry Moran, Republican: YES

Sen. Pat Roberts, Republican: YES

Kentucky

Sen. Mitch McConnell, Republican: NO

Sen. Rand Paul, Republican: NO

Louisiana

Sen. Bill Cassidy, Republican: YES

Sen. John Kennedy, Republican: YES

Massachusetts

Sen. Edward Markey, Democrat: NO

Sen Elizabeth Warren, Democrat: NO

Maryland

Sen. Ben Cardin, Democrat: NO

Sen. Chris Van Hollen, Democrat: NO

Maine

Sen. Susan Collins, Republican: YES

Sen. Angus King, Independent: NO

Michigan

Sen. Gary Peters, Democrat: NO

Sen. Debbie Stabenow, Democrat: NO

Minnesota

Sen. Amy Klobuchar, Democrat: NO

Sen. Tina Smith, Democrat: NO

Missouri

Sen. Roy Blunt, Republican: YES

Sen. Claire McCaskill, Democrat: YES

Mississippi

Sen. Thad Cochran, Republican: YES

Sen. Roger Wicker, Republican: YES

Montana

Sen. Steve Daines, Republican: YES

Sen. Jon Tester, Democrat: NO

North Carolina

Sen. Richard Burr, Republican: YES

Sen. Thom Tillis, Republican: YES

North Dakota

Sen. Heidi Heitkamp, Democrat: YES

Sen. John Hoeven, Republican: YES

Nebraska

Sen. Deb Fischer, Republican: YES

Sen. Ben Sasse, Republican: YES

New Hampshire

Sen. Maggie Hassan, Democrat: NO

Sen. Jeanne Shaheen, Democrat: NO

New Jersey

Sen. Cory Booker, Democrat: NO

Sen. Robert Menendez, Democrat: NO

New Mexico

Sen. Martin Heinrich, Democrat: NO

Sen. Tom Udall, Democrat: NO

Nevada

Sen. Catherine Cortez Masto, Democrat: NO

Sen. Dean Heller, Republican: YES

New York

Sen. Kirsten Gillibrand, Democrat: NO

Sen. Chuck Schumer, Democrat: NO

Ohio

Sen. Rob Portman, Republican: YES

Sen. Sherrod Brown, Democrat: NO

Oklahoma

Sen. James Inhofe, Republican: YES

Sen. James Lankford, Republican: YES

Oregon

Sen. Jeff Merkley, Democrat: NO

Sen. Ron Wyden, Democrat: NO

Pennsylvania

Sen. Bob Casey, Democrat: NO

Sen. Pat Toomey, Republican: YES

Rhode Island

Sen. Jack Reed, Democrat: NO

Sen. Sheldon Whitehouse, Democrat: NO

South Carolina

Sen. Lindsey Graham, Republican NO

Sen. Tim Scott, Republican: YES

South Dakota

Sen. Mike Rounds, Republican: YES

Sen. John Thune, Republican: YES

Tennessee

Sen. Lamar Alexander, Republican: YES

Sen. Bob Corker, Republican: YES

Texas

Sen. John Cornyn, Republican: YES

Sen. Ted Cruz, Republican: YES

Utah

Sen. Orrin Hatch, Republican: YES

Sen. Mike Lee, Republican: NO

Virginia

Sen. Tim Kaine, Democrat: NO

Sen. Mark Warner, Democrat: NO

Vermont

Sen. Patrick Leahy, Democrat: NO

Sen. Bernie Sanders, Independent: NO

Washington

Sen. Maria Cantwell, Democrat: NO

Sen. Patty Murray, Democrat: NO

Wisconsin

Sen. Tammy Baldwin, Democrat: NO

Sen. Ron Johnson, Republican: YES

West Virginia

Sen. Shelley Moore Capito, Republican: YES

Sen. Joe Manchin, Democrat: YES

Wyoming

Sen. John Barrasso, Republican: YES

Sen. Michael Enzi, Republican: YES