Senate passes government funding bill, beating midnight deadline.

The Senate cleared a bill late Friday to fund the government through the end of April, narrowly averting a shutdown.

The 63-36 vote came shortly before a midnight deadline when the government could have run out of money.

The bill was stalled when a group of Democrats tried to improve a health insurance provision for retired coal miners that was in the bill.

They couldn't muster the votes to block the measure and vowed to continue their fight in the new Congress.

 President Barack Obama is expected to sign the bill.