A large group of Central American refugees and migrants in the caravan which is travelling through Mexico towards the US in the hopes of seeking asylum has arrived in Mexico City.

More than 1,000 Central Americans, many who are fleeing gang violence and financial hardship in their home countries, took temporary shelter at a sports stadium where the city’s government had set up medical aid and food kitchens on Sunday.

Ahead of the US midterm elections on Tuesday, Donald Trump has repeatedly warned about the advance of the caravan and ordered thousands of troops to the Mexican border.

Central American migrants arrive in Mexico City Show all 12 1 /12 Central American migrants arrive in Mexico City Central American migrants arrive in Mexico City Jerson Suazo, left, stands with his wife Anabel Pineda next to their six-year-old son Fernando, at a shelter in the Jesus Martinez stadium, in Mexico City. Thousands of Central American migrants arrived at the stadium, still hundreds of miles away from their goal of reaching the US AP Central American migrants arrive in Mexico City Migrants rest at the Jesus Martinez 'Palillo' Stadium EPA Central American migrants arrive in Mexico City Central American migrants arrive AP Central American migrants arrive in Mexico City epa07144051 Migrants rest at the Jesus Martinez 'Palillo' Stadium, in Mexico City, Mexico, 05 November 2018. Thousands of people from the migrant caravan who are already in Mexico City await their comrades still scattered in other parts of the country, with the intention of continuing all together in their journey to the United States. EPA/MARIO GUZMAN MARIO GUZMAN EPA Central American migrants arrive in Mexico City A Central American migrant covers himself from the cold at a shelter in the Jesus Martinez stadium, in Mexico City, Monday, Nov. 5, 2018. Thousands of Central American migrants have arrived at the stadium, still hundreds of miles away from their goal of reaching the U.S. a day before midterm elections in which they unwittingly became a central issue. (AP Photo/Rodrigo Abd) Rodrigo Abd AP Central American migrants arrive in Mexico City Dauni Portillo, a four-year-old migrant girl from Honduras plays with her dolls as she rests in a makeshift camp in Mexico City Reuters Central American migrants arrive in Mexico City Migrants rest at the Jesus Martinez 'Palillo' Stadium EPA Central American migrants arrive in Mexico City Migrants queue for registration in a makeshift camp Reuters Central American migrants arrive in Mexico City Central American migrants arrive to the City Mexico, as part of a thousands-strong caravan hoping to reach the U.S., Monday, Nov. 5, 2018. A big group of Central Americans pushed on toward Mexico City from a coastal state, planning to exit a part of the country that has long been treacherous for migrants seeking to get to the United States. (AP Photo/Marco Ugarte) Marco Ugarte AP Central American migrants arrive in Mexico City A couple of Central American migrants, part of a caravan hoping to reach the U.S. dance at a shelter at the Jesus Martinez stadium, in Mexico City, Monday, Nov. 5, 2018. Thousands of Central American migrants have arrived at the stadium, still hundreds of miles away from their goal of reaching the U.S. a day before midterm elections in which they unwittingly became a central issue. (AP Photo/Marco Ugarte) Marco Ugarte AP Central American migrants arrive in Mexico City Central American migrants, part of a caravan hoping to reach the U.S. gets settled in a shelter at the Jesus Martinez stadium, in Mexico City, Monday, Nov. 5, 2018. Thousands of Central American migrants have arrived at the stadium, still hundreds of miles away from their goal of reaching the U.S. a day before midterm elections in which they unwittingly became a central issue. (AP Photo/Marco Ugarte) Marco Ugarte AP Central American migrants arrive in Mexico City Migrants rest at the Jesus Martinez 'Palillo' Stadium EPA

It is unclear which part of the US border the caravan will eventually aim for, or how many may splinter off to reach the US on their own.

The migrants arrived in the capital, which sits nearly 500 miles (805km) from the nearest border crossings into Texas, four weeks after setting out from the Honduran city of San Pedro Sula.

Thousands more Central Americans were moving in groups in the Gulf state of Veracruz, the central state of Puebla and in the southern state of Chiapas, local media reported.

President Trump’s administration has pressured Mexico to halt the advance of the migrants and Mexico’s president, Enrique Pena Nieto, has offered temporary identification papers and jobs if they register for asylum in the southern states of Chiapas and Oaxaca.

On Saturday, Mexico’s government said it was processing nearly 2,800 asylum requests and that around 1,100 Central Americans had been deported.

Most of the migrants in the caravan have said they are convicted that travelling in a large mass is their best hope for reaching the US.

Trump says he plans to build 'tent cities' for people traveling with the caravan

Mexico currently faces three migrant caravans stretched over 300 miles (500km) of motorway in the states of Chiapas, Oaxaca and Veracruz.

The largest group was the first to enter Mexico, and it has been followed by a group of about 1,000 that crossed over from Guatemala last week and a second of about the same size that waded over the Suchiate River on Friday.

Mexico’s Interior Ministry estimated over the weekend that there are more than 5,000 migrants in total currently moving through southern Mexico via the caravans or in smaller groups.

Honduran migrant caravan heads to the US Show all 20 1 /20 Honduran migrant caravan heads to the US Honduran migrant caravan heads to the US The caravan heads towards the US as they leave Arriaga in southern Mexico AFP/Getty Honduran migrant caravan heads to the US Honduran migrants rest in a basketball pitch in San Pedro Tapanatepec, southern Mexico AFP/Getty Honduran migrant caravan heads to the US The caravan heads towards the US as they leave Arriaga in southern Mexico AFP/Getty Honduran migrant caravan heads to the US A truck carrying migrants departs from Mapastepec, Mexico EPA Honduran migrant caravan heads to the US The caravan heads through Mapastepec, Mexico AFP/Getty Honduran migrant caravan heads to the US Migrants cross the Suchiate River in Tecun Uma, Guatemala EPA Honduran migrant caravan heads to the US Migrants rest in Mapastepec, Mexico AFP/Getty Honduran migrant caravan heads to the US Migrants strike the border fence between Tecun Uman, Guatemala and Hidalgo, Mexico AFP/Getty Honduran migrant caravan heads to the US Guatemalan soldiers stand guard at the Guatemala-Mexico border as the Caravan arrives EPA Honduran migrant caravan heads to the US Migrants bathe in a river in Pijijapan AP Honduran migrant caravan heads to the US Washing clothes in a river near Pijijiapan, Mexico AFP/Getty Honduran migrant caravan heads to the US Walking in Mapastepec, Mexico EPA Honduran migrant caravan heads to the US A truck carries migrants in Mapastepec, Mexico AFP/Getty Honduran migrant caravan heads to the US The caravan passes through Mapastepec, Mexico AFP/Getty Honduran migrant caravan heads to the US The main square of Pijijiapan, Mexico AFP/Getty Honduran migrant caravan heads to the US Migrants walk on the road from Usumatlan to Guatemala City AFP/Getty Honduran migrant caravan heads to the US Migrants hang on to the back of a truck in Mapastepec, Mexico AFP/Getty Honduran migrant caravan heads to the US Migrant woman and child in Mapastepec, Mexico AFP/Getty Honduran migrant caravan heads to the US A truck carries migrants in Mapastepec, Mexico AFP/Getty Honduran migrant caravan heads to the US Migrants rest in Mapastepec, Mexico AFP/Getty

The ministry said 2,793 migrants have applied for refugee status in Mexico in recent weeks and around 500 have asked for assistance to return to their home countries.

Mr Trump plans to sign a presidential order that could lead to the large-scale detention of migrants crossing the southern border and bar anyone caught crossing illegally from claiming asylum.