The Senate voted Thursday to pass a temporary funding bill and avoid a government shutdown at the end of the month.

The chamber approved the legislation by an 82-15 margin. As the House already passed the measure, the Senate vote sends it to President Donald Trump for his signature.

He is expected to sign it into law before the Sept. 30 funding deadline.