Progressive Rep. Greg Casar, D-Texas, a new member of the "The Squad," faced mockery on social media after pledging to go on a "thirst strike" in solidarity with federal workers that ended up lasting only eight hours.

"Just took my last drink of water before my thirst strike with the one and only, Dolores Huerta. #WorkersCanWait," Casar, whose district represents parts of Austin and San Antonio, posted Tuesday morning. He pledged to abstain from liquids as he called for a federal heat rule to protect workers as they faced high temperatures across the country.

"Today I’m on a thirst strike on the steps of the U.S. Capitol – not drinking water or taking breaks, through rain or shine, in solidarity with our nation’s workers," Casar wrote in another post. "Currently there are NO federal protections for workers exposed to heat."

AOC LASHES OUT AT TWITTER, CLAIMS SHE'S 'NEVER EXPERIENCED MORE HARASSMENT' BEFORE

Casar's thirst strike ended eight hours later, prompting criticism from conservatives on Twitter.

Greg Casar

Rep. Greg Casar, D-Texas, went on an eight-hour thirst strike on Tuesday. (Rep. Greg Casar)

"Congrats on… existing between early lunch and late dinner," CNN commentator Scott Jennings tweeted.


"eight whole hours what a hero," Washington Free Beacon reporter Andrew Kerr tweeted.

"Libs get participation trophies for literally skipping breakfast," The Spectator reporter Matthew Foldi tweeted.

AUSTIN MAYOR BLOCKS STATE POLICE HELP FOR UNDERSTAFFED PD IN MOVE THAT CAVES TO 'DEFUND' ACTIVISTS: CRITICS

Greg Casar

Rep. Greg Casar, D-Texas, speaks to a reporter on the House steps of the Capitol in Washington, D.C., on April 20, 2023. (Bill Clark/CQ-Roll Call, Inc via Getty Images)

Casar's thirst strike on the steps of the Capitol on Tuesday drew a crowd that included progressive Sen. Bernie Sanders, I-Vt., and reporters who tweeted photos of Casar being monitored by medical professionals.

Casar's office did not immediately respond to a request for comment from Fox News Digital.

CLICK HERE TO GET THE FOX NEWS APP

Greg Casar at rally

Democratic candidate Greg Casar speaks during a "Get Out the Vote" rally on Feb. 12, 2022. (Brandon Bell/Getty Images)

Fox News Digital’s Louis Casiano contributed to this report.