A 2014 tweet from President Donald Trump criticizing then-President Barack Obama's health care law has resurfaced ahead of a vote on the GOP's effort to gut it.

In the old tweet, Trump wrote, "It’s Thursday. How many people have lost their healthcare today?"

It’s Thursday. How many people have lost their healthcare today? — Donald J. Trump (@realDonaldTrump) January 9, 2014

Critics of the Republican proposal aimed at rolling back the law known as Obamacare used the tweet to mock Trump and draw comparisons between the president's comments on a Thursday more than three years ago and the recent congressional health care struggle.

Sens. Cory Booker, D-N.J., and Bernie Sanders, I-Vt., were among those taking jabs at Trump and the GOP health care plan, which was slated for a Thursday vote in the House.

No matter what happens in the House, I will fight this craven health care bill in the Senate. #VoteNoAHCA https://t.co/ILJanbsvJx — Cory Booker (@CoryBooker) May 4, 2017

It's Thursday, Mr. President, and your party is trying to throw 24 million people off of health care today. Are you still concerned? https://t.co/OSTJkw8XyC — Bernie Sanders (@SenSanders) May 4, 2017

74 million, Donald. Sleep well! https://t.co/aNUDc2k2iv — Lisa Braun Dubbels (@lisadubbels) May 4, 2017

Republicans vote this afternoon to dismantle the ACA and make healthcare unaffordable for millions of Americans. https://t.co/kRTbsKHt3e — Jon-Michael Poff (@JMPoff) May 4, 2017