/ Updated 
By Reuters

After Donald Trump won the presidential election, Mexico President Enrique Peña Nieto said he is ready to work with with the U.S. to help the two countries tighten bonds of cooperation and mutual respect.

Peña Nieto was heavily criticized for receiving Trump in Mexico during the campaign, after the Republican candidate called Mexican immigrants rapists and vowed to build a wall between the two countries to stem the flow of migrants over the border.

RELATED: Trump's Win Stuns Latinos, Immigrants Worry About Their Future

"Mexico and the United States are friends, partners and allies and we should keep collaborating for the competitiveness and development of North America," Peña Nieto said on his Twitter account.

Trump has said he could tear up the North American Free Trade Agreement (NAFTA), which has increased commerce between Mexico, the United States and Canada, saying that it has killed U.S. jobs.

Follow NBC News Latino on Facebook, Twitter and Instagram.