Lawrence O'Donnell indicated Wednesday that he has reached a deal with MSNBC to continue hosting his late-night show amid reports that the two might be parting ways.

"You know where I'll be next week? I will be sitting right here," O'Donnell said in signing off on his program Wednesday evening, saying he plans to continue reporting for the network next week and even for the next couple of years on current events including former FBI Director James Comey's expected testimony before Congress.

O'Donnell then said in a tweet: "Yes I will be saying hi to Rachel @maddow at 10pm for the foreseeable future."

O'Donnell's contract with MSNBC was set to expire on June 4, and it was reportedly likely that he would not be signed back on. He has hosted his 10 p.m. show "Last Word" on MSNBC for about seven years.

The news comes amid backlash — and even planned protests — to the possibility of an ouster. Reports said the network was looking to shift Brian Williams from his 11 p.m. show into O'Donnell's 10 p.m. slot, despite O'Donnell's strong ratings of late.

O'Donnell is a former producer for NBC's "The West Wing" and a vocal critic of President Trump.