The Chicago City Council voted to approve $51 million in spending to help with the city's migrant crisis on Wednesday.

Chicago aldermen voted to approve the measure by a vote of 34-13, according to FOX 32, noting that there was contentious debate before the spending was eventually approved.

Democrat Mayor Brandon Johnson said in a statement that the funding is necessary and will go toward resources for migrants, including food, housing, and staffing.

"Chicago is facing a humanitarian crisis as individuals and families continue to be sent here and other Democratic-led cities across the country without regard for their well-being," Johnson said. "My administration will do everything in our power to support these new arrivals as they work to rebuild their lives in the U.S. while still upholding our commitments to the residents of Chicago. This appropriation is critical to support our efforts to provide housing and services in the immediate future, and I will continue to advocate for additional state and federal funding for as long as needed."

MIGRANTS ‘DUMPED’ IN CHICAGO SHELTER COULD 'DESTROY' BLACK COMMUNITIES, RESIDENTS SAY

Migrants arriving in Chicago

Migrants are led from one bus to another after arriving from Texas at Union Station on Sept. 9, 2022, in Chicago.  (Chris Sweda/Chicago Tribune/Tribune News Service via Getty Images)

The measure was passed as Republican Texas Gov. Greg Abbott continues to send migrants to large cities across the United States, including Chicago, New York, and Washington D.C.

Officials estimate that the cost the city has faced attempting to address the migrant crisis from January until June has cost around $102 million.

CHICAGO RESIDENTS SHRED LOCAL POLITICIANS OVER PLANS TO HOUSE ILLEGAL IMMIGRANTS AT CLOSED HIGH SCHOOL

Brandon Johnson, mayor of Chicago, during an inauguration ceremony at the Credit Union 1 Arena in Chicago on May 15, 2023.

Brandon Johnson, mayor of Chicago, during an inauguration ceremony at the Credit Union 1 Arena in Chicago on May 15, 2023. (Jamie Kelter Davis/Bloomberg via Getty Images)

Chicago has received $30 million from the Illinois government and $4.4 million from a FEMA Emergency Food and Shelter Program to assist the city.

Former mayoral candidate Ja'Mal Green said that aldermen need to vote down the funding.

CLICK HERE TO GET THE FOX NEWS APP

Migrants watching TV in shelter

Joel Jesus Gomez, 28, left, a recently arrived migrant from Venezuela, watches television as he and Kevin Gonzalez, 23, right, also of Venezuela, find shelter at Ald. Byron Sigcho-Lopez's office in Chicago's Pilsen neighborhood on Jan. 12, 2023.  (Antonio Perez/Chicago Tribune/Tribune News Service via Getty Images)

"I'm asking the City Council to halt their vote. To vote no on the $51 million until we can have a tangible plan of resources for our neighborhoods for investment into these neighborhoods that are suffering the most," Green said.