Lawrence O'Donnell has re-signed with MSNBC ahead of his current contract's expiration on Sunday, the network has confirmed.

"The Last Word with Lawrence O'Donnell" has been on a ratings roll of late, finishing third in the key 25-54 demographic in the month of May, only behind MSNBC's "The Rachel Maddow Show" and Fox's "Tucker Carlson Tonight."

ADVERTISEMENT

The progressive O’Donnell took his contract negotiations public on Twitter in May after reports surfaced that the network was considering moving former "NBC Nightly News" anchor Brian Williams from his current 11 p.m. ET slot to 10 p.m. ET.

But the 65-year-old former "West Wing" producer tweeted out the news to his 1.67 million followers on Thursday, writing he'll be back on the network "for the foreseeable future."

Yes I will be saying hi to Rachel @maddow at 10pm for the foreseeable future. https://t.co/LKlkRTXL3F — Lawrence O'Donnell (@Lawrence) June 1, 2017

Terms of the deal were not disclosed.