Former NFL running back Herschel Walker on Monday slammed California over a proposed bill that would give healthcare benefits to some illegal immigrants who live in the state.

Under an agreement between Gov. Gavin Newsom and Democrat lawmakers in the state legislature, low-income adults between the ages of 19 and 25 living in the state illegally would be eligible for California’s Medicaid program, known as Medi-Cal.

BALTIMORE RAVENS COACH REPORTEDLY PULLS MICHAEL PIERCE FROM PRACTICE AFTER SHOWING UP OUT OF SHAPE

The deal emerged as part of a broader $213 million budget and would take effect next January.

Walker, a former Pro Bowler who played 12 seasons in the NFL, tweeted his disapproval with the plan.

“Not to point fingers at California, but why would you give free healthcare to illegal immigrants when your streets are littered with homeless legal residents, trash, and tents. California is a beauitful place, so let’s keep it that way,” Walker wrote.

FORMER ALL-PRO LINEBACKER ALDON SMITH ARRESTED ON SUSPICION OF DUI IN KANSAS, POLICE SAY

Walker’s message received more than 24,000 retweets and 78,000 likes on Twitter.

California officials have estimated the benefits would be available to about 90,000 low-income illegal immigrants at a cost of $98 million per year.

To pay for part of it, the state agreed to start taxing people who don’t have health insurance. It’s a revival of the individual-mandate penalty that had been on the books nationwide under former President Barack Obama’s health-care law until Republicans in Congress eliminated it as part of the 2017 overhaul to the tax code.

BILL BELICHICK SHOT PATRIOTS LINEBACKER IN THE FACE DURING PAINTBALL GAME

The budget agreement still must be approved by the full state legislature; a vote is expected this week. State law requires lawmakers to enact a budget by midnight on June 15. If they don’t, lawmakers would lose their pay.

Fox News’ Frank Miles and the Associated Press contributed to this report.