Key factions of the House Republican Conference reached a tentative agreement Sunday to keep the government funded temporarily and avert a shutdown scheduled for the end of the month, pairing it with a conservative border security measure, multiple GOP sources with knowledge of the agreement said.

House Republicans released a bill after the far-right Freedom Caucus and the center-right Main Street Caucus reached a tentative agreement, the sources said. The deal, which would keep the government funded through Oct. 31 but includes cuts to domestic spending, is expected to pave the way to pass a defense spending bill this week that has been tied up in the standoff between Republican leadership and the far right.

Read the rest of the story at NBC News