Every single Democratic presidential candidate on stage during Thursday’s debate raised their hands in favor of giving illegal immigrants free healthcare.

WATCH: All 10 Democrats on stage promise to give government healthcare to all illegal immigrants. #DemDebate #DemDebate2 pic.twitter.com/EV2PGi6qbb — MediaResearchCenter (@theMRC) June 28, 2019

WATCH: Every Democrat supports giving free health care to illegal immigrants and sticking working class American citizens with the bill. #DemDebate pic.twitter.com/ykSkcuX7N8 — Trump War Room (@TrumpWarRoom) June 28, 2019

There was agreement on both sides of the political aisle that this moment would help President Trump secure a second term.

Please tell me that the Dem party is not going to advocate for giving free healthcare to illegal immigrants. Trump and the Republicans will have a field day with this. #BeyondStupid — Michael Avenatti (@MichaelAvenatti) June 28, 2019

Covering illegals with health care funded by working Americans is going to haunt the Ds once their primary is over. That’s going to go over like a lead ballon in the general election. Trump must be smiling. — Ari Fleischer (@AriFleischer) June 28, 2019

All 10 Dems say their health care plans would cover undocumented immigrants. I'm *incredibly* pro-immigration, but this is how you get a second Donald Trump term. — (Stephanie) Slade (@sladesr) June 28, 2019

President Trump weighed in, saying that position is "the end of that race!"