Sen. Doug Jones, D-AL, voted for a spending deal to avert a government shutdown, the fifth Democratic Senator to support the Republican-backed measure.

Jones, who took office last month, told NBC News he voted for the measure because of its funding for the Children's Health Insurance Program. CHIP serves about 84,000 low-income children in Alabama.

“As of right now, I’ll be voting for the CR,” Doug Jones said, citing the “strong commitment” he made to his state on CHIP. https://t.co/0VigY2LuEq — Jonathan Allen (@jonallendc) January 20, 2018

Jones joins Democrats Sens. Joe Manchin of West Virginia, Claire McCaskill of Missouri, Heidi Heitkamp of North Dakota, and Joe Donnelly of Indiana in supporting the measure. Other Democrats are opposing the measure saying it does not provide protection for Dreamers, people who were brought into the U.S. illegally as children.

The total on the vote was 50-49, but 60 votes were needed to advance the bill. Five Republicans voted against the bill; Richard Shelby, Alabama's Senior Senator, voted yes.

The Senate has until midnight tonight to avoid a partial government shutdown.