Now playing
02:51
'Agreement in principle' reached to avert shutdown
Now playing
01:33
Chuck Schumer announces timeline for Trump impeachment
Registered nurse Irene Musni administers the COVID-19 vaccine into the arm of a senior citizen at the Corona High School gymnasium in the Riverside County city of Corona, California on January 15, 2021, a day after California began offering the coronavirus vaccine to residents 65 and older. - US President-elect Joe Biden was set to announce his Covid-19 vaccine rollout plan Friday as he bids to wrest the focus from the impeachment of Donald Trump to the agenda for his first days in office.
Biden has said he wants 100 million Americans to receive shots during his first 100 days in office, an ambitious goal that would require a big step up in the current pace of distribution. (Photo by Frederic J. BROWN / AFP) (Photo by FREDERIC J. BROWN/AFP via Getty Images)
Registered nurse Irene Musni administers the COVID-19 vaccine into the arm of a senior citizen at the Corona High School gymnasium in the Riverside County city of Corona, California on January 15, 2021, a day after California began offering the coronavirus vaccine to residents 65 and older. - US President-elect Joe Biden was set to announce his Covid-19 vaccine rollout plan Friday as he bids to wrest the focus from the impeachment of Donald Trump to the agenda for his first days in office. Biden has said he wants 100 million Americans to receive shots during his first 100 days in office, an ambitious goal that would require a big step up in the current pace of distribution. (Photo by Frederic J. BROWN / AFP) (Photo by FREDERIC J. BROWN/AFP via Getty Images)
PHOTO: Frederic J. Brown/AFP/Getty Images
Now playing
01:55
Race to vaccinate before more contagious Covid-19 strains spread
WASHINGTON, DC - JANUARY 22: U.S. President Joe Biden signs an executive order as Vice President Kamala Harris looks on during an event on economic crisis in the State Dining Room of the White House January 22, 2021 in Washington, DC. President Biden spoke on his administration
WASHINGTON, DC - JANUARY 22: U.S. President Joe Biden signs an executive order as Vice President Kamala Harris looks on during an event on economic crisis in the State Dining Room of the White House January 22, 2021 in Washington, DC. President Biden spoke on his administration's response to the economic crisis that caused by the COVID-19 pandemic and signed two executive orders. (Photo by Alex Wong/Getty Images)
PHOTO: Alex Wong/Getty Images North America/Getty Images
Now playing
02:31
Biden zeroes in on the teetering economy in first week
A group of protesters shield themselves from chemical irritants as they demonstrate Wednesday evening, Jan. 20, 2021, outside the U.S. Immigrations and Customs Enforcement (ICE) building in Portland, Ore. (Assfault Pirates via AP)
A group of protesters shield themselves from chemical irritants as they demonstrate Wednesday evening, Jan. 20, 2021, outside the U.S. Immigrations and Customs Enforcement (ICE) building in Portland, Ore. (Assfault Pirates via AP)
PHOTO: Paul L/AP
Now playing
04:04
Portland protesters explain why they are taking to the streets
Hank Aaron, Milwaukee Braves
Hank Aaron, Milwaukee Braves' outfielder, is shown in a posed batting portrait at the Polo Grounds, Brooklyn, during the exhibition season, 1954. (AP Photo)
PHOTO: AP
Now playing
02:30
Hank Aaron, baseball legend and former home run king, dies at 86
PHOTO: CNN
Now playing
01:23
Schumer says articles of impeachment will be delivered Monday
US President Joe Biden listens to the US National Anthem during the virtual Presidential Inaugural Prayer Service hosted by the Washington National Cathedral, in the State Dining Room of the White House in Washington, DC, on January 21, 2021. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
US President Joe Biden listens to the US National Anthem during the virtual Presidential Inaugural Prayer Service hosted by the Washington National Cathedral, in the State Dining Room of the White House in Washington, DC, on January 21, 2021. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
Now playing
03:02
Biden unveils Covid-19 plan on first full day in office
Now playing
00:00
Dr. Fauci vows to be 'completely transparent' on Covid-19
Iraqi security forces keep guard the site of a suicide attack in Baghdad, Iraq January 21, 2021. REUTERS/Thaier al-Sudani
Iraqi security forces keep guard the site of a suicide attack in Baghdad, Iraq January 21, 2021. REUTERS/Thaier al-Sudani
PHOTO: Thaier al-Sudani/Reuters
Now playing
02:42
Dozens killed and hundreds injured in Baghdad suicide blasts
PHOTO: CNN
Now playing
05:46
Dr. Gupta on Covid-19: This is the worst it's ever been
Now playing
03:04
Avlon: QAnon supporters left desperate and disillusioned
Now playing
03:17
Many believed conspiracy theories about Trump and the election. Now, they're losing faith
PHOTO: Courtesy Owen Harrington
Now playing
04:22
He bonded with Biden over stutter. Then got call to speak at inauguration
US President Joe Biden swears in presidential appointees during a virtual ceremony in the Oval Office of the White House in Washington, DC, after being sworn in at the US Capitol on January 20, 2021. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
US President Joe Biden swears in presidential appointees during a virtual ceremony in the Oval Office of the White House in Washington, DC, after being sworn in at the US Capitol on January 20, 2021. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
PHOTO: JIM WATSON/AFP via Getty Images
Now playing
01:29
'I'll fire you on the spot': Biden tells staff to treat others with respect
President Joe Biden signs his first executive order in the Oval Office of the White House on Wednesday, Jan. 20, 2021, in Washington. (AP Photo/Evan Vucci)
President Joe Biden signs his first executive order in the Oval Office of the White House on Wednesday, Jan. 20, 2021, in Washington. (AP Photo/Evan Vucci)
PHOTO: Evan Vucci/AP
Now playing
02:56
Biden signs executive actions aimed at dismantling Trump's policies
Harris
Harris
PHOTO: Senate Tv
Now playing
02:01
A proud Harris smiles as she swears in new senators in her new role
(CNN) —  

Congressional negotiators say they have reached an agreement in principle to avert a partial government shutdown at the end of this week.

The four lead bipartisan negotiators, emerging from talks Monday night, declined to get into details on how the agreement was struck or the exact parameters of a deal, but when asked whether it included barrier funding and a resolution to the detention bed issue, Senate Appropriations Chairman Richard Shelby said: “We got an agreement on all of it.”

Shelby’s comments follow those from a Democratic aide involved in the border security funding talks who said earlier Monday negotiators are “very, very close” to an agreement and they are now checking to see if the emerging proposal would get the votes it needs to pass the House.

Lawmakers are racing the clock in an effort to find the common ground necessary for an agreement on border security that will pass both chambers of Congress and be signed into law by the President before Friday at midnight to prevent another partial government shutdown.

About 25% of funding for the federal government runs out at the end of the week and a group of bipartisan lawmakers have been meeting for weeks to negotiate over border security as part of the budget for the Department of Homeland Security.

In a sign that made it look like a shutdown was increasingly likely, talks broke down over the weekend, but four members of that group – the top Democrat and Republican from both the House and Senate Appropriations committees – kept meeting Monday to try and broker a deal.

Asked what was different today than over the weekend, Rep. Kay Granger, the top House Republican on the conference committee, quipped, “Maybe we got sleep.”

“That’s always sort of helpful in making a decision,” she added.

The looming deadline comes on the heels of the longest shutdown in US government history, which began in December and ended in January after President Donald Trump signed legislation to temporarily reopen shuttered parts of the government for a three-week period to allow for border security negotiations.

What the President will be willing to accept has remained a wild card hanging over the negotiations. Democrats and Republicans on Capitol Hill have long signaled that they could reach a deal if left to their own devices, but questions over what the President will accept have continued to inject uncertainty into the process.

Speaking in El Paso, Texas, on Monday night, Trump said he was made aware of the agreement but didn’t listen to the details from advisers.

“They say that progress is being made. Just so you know. Just now, just now,” he said. “I said wait a minute, I gotta take care of my people from Texas. I got to go. I don’t even want to hear about it. I don’t want to hear about it.”

Back in Washington, White House officials have mulled one additional idea in recent days, depending on what congressional negotiators came up with: taking the deal that the committee comes to – depending on what’s in it – but also using other federal funds to build additional barriers.

A White House official says they are keeping their options open right now, including Trump using his executive powers to reallocate federal funds from elsewhere for the wall, but are looking at the agreement now.

As acting chief of staff Mick Mulvaney noted on NBC Sunday, he has been “combing through the law” and trying to find additional funds. White House officials believe this is an option even if the President signs the deal to avoid another government shutdown.

Just hours ago they were told the talks were stalled, but that wasn’t a huge concern to White House officials, who for days have been continuing discussions about declaring a national emergency.

Sen. Patrick Leahy, a top Democratic negotiator, said the goal for the four main participants in the talks was to reach a deal Monday night, then proceed to drafting the final agreement on Tuesday.

“I think we both agree if we can wrap this up tonight, do it tonight, our goal will be to do it tomorrow,” said Leahy, of Vermont, regarding his work with Shelby.

Any agreement will need to now hold up in the House and Senate and finally the White House.

The Democratic aide said there is still “a ton of work to do once they have an agreement reached” to ready it for the floor.

A Republican aide involved expressed some caution on the progress given the repeated breakdowns over the past few weeks, but acknowledged negotiators “are clearly moving in the right direction.”

Another GOP aide said, “Hearing good things tonight.”

The most significant sticking point in the shutdown fight so far had been over the President’s request of upwards of $5 billion for a border wall. Democrats have made clear that is a non-starter and have refused to meet the President’s demand, an impasse that triggered the initial shutdown.

Another sticking point has also emerged over the issue of detention beds for detained undocumented immigrants. Democrats view detention beds as central to a Trump administration immigration policy that is harsh and needlessly aggressive. Republicans view the detention beds as central to limiting the ability of detained undocumented immigrants from being released into the US as they await hearings.

Democrats entered negotiations pushing to reduce the number of detention beds funded in the measure to 35,520, while the White House and Republicans sought an increase to 52,000.

The full details of the tentative agreement struck on Monday evening have yet to be publicly released. But according to a Democratic source, the agreement in principle at this point would include $1.375 billion for physical barriers and a level of 40,520 for overall ICE beds, short of the 52,000 the administration requested and matching current funding levels.

On a potential cap on ICE detention beds, Trump told the crowd in El Paso, “I will never sign a bill that forces the mass release of violent criminals into our country. And I will never abolish or in any way mistreat our great heroes from ICE and Border Patrol and law enforcement.”

Rep. David Price, a North Carolina Democrat on the conference committee, said if an agreement was reached on Monday night, both chambers could likely get something to the President’s desk before February 15 government funding deadline.

“I know the goal is to reach it tonight,” Price said before the announcement of an agreement was made. “I hope we’re back on track now with a serious give and take and good faith negotiations.”

This story has been updated with additional developments from Monday.

CNN’s Dana Bash, Kristin Wilson and Priscilla Alvarez contributed to this report