Hundreds of migrants boarded a train known as the “The Beast” in southern Mexico on Thursday, in a risky move aimed at transporting them to the U.S. border more quickly.

The decision to board the train en masse comes after a breakout of migrants from a troubled immigration detention center in the southern border city of Tapachula on Thursday night.

Mexico’s National Immigration Institute said the mass escape, which appears to be the largest in recent memory, involved around 1,300 Cuban migrants.

Around 700 of them have since returned voluntarily, but hundreds remain on the run.

Related: Our American Military at the Border Near Clint, Texas, Followed All Proper Protocols

Migration authorities said nearly 400 migrants boarded the train, Reuters reported, with images showing men, women and children of various nationalities, most of them on the roofs of carriages.

“We hope our God above will keep helping us. We had to keep moving forward,” Michael Hernandez, a Honduran, told Reuters after disembarking from the train together with a large group of others migrants after reaching the town of Ixtepec.

“They won’t let us walk, so we climbed on the train. It’s our only option.”

President Donald  Trump has been pressuring Mexico to do more about the migrants passing through their country into the U.S. — even threatening to close down the border if President Andres Manuel Lopez Obrador doesn’t stop illegal migrants from coming to the U.S. border.

Related: Cher Says L.A. Isn’t Taking of Its Own, So How Could It Accept More Immigrants?

Who do you think would win the Presidency?

By completing the poll, you agree to receive emails from LifeZette, occasional offers from our partners and that you've read and agree to our privacy policy and legal statement.

Mexico has largely been responsive to the pressure, stepping up the efforts to detain the migrants and deport them back home.

But such a crackdown also led to migrants using the train, which runs from the southern border state of Chiapas into neighboring Oaxaca and north into Gulf coast state Veracruz, as this way dozens of police and immigration checkpoints along the Mexican highways can be avoided — even though the journey on a train is significantly more dangerous.

Migrants have used the train in the past, but it was ignored in recent years because of the dangers of the journey, including death or lost limbs.

“They’re riding the train again. That’s a fact,” said the Rev. Alejandro Solalinde, a migrant rights activist, who works to provide temporary shelter for migrants.

“It’s going to go back to the way it was. The [Mexican] government doesn’t want them to be seen. If the migrants move quietly like a stream of little ants, they’ll allow them to, but they are not going to allow them to move through Mexico publicly or massively,” he added.

Lukas Mikelionis is a reporter for FoxNews.com. Fox News’ Greg Norman and the Associated Press contributed to this Fox News report, which is used by permission.

Read more at Fox News:
Biden Tops Sanders, O’Rourke, for Biggest Fundraising Haul Out of the Gate
Man Arrested After Cell Phone Is Thrown on the Stage During Trump’s NRA Speech
Trump Announces U.S. Withdrawal from U.N. Arms Trade Treaty