Cuban President Raul Castro has arrived for his first state visit to Mexico to review a relationship between longtime allies that grew chilly at the beginning of the century.

Mexican President Enrique Pena Nieto greeted Castro on Friday at the Yucatan state government palace in Merida, where they will hold private discussions. They will also witness the signing of numerous agreements dealing with migration, tourism, agriculture, education and academic-diplomatic collaboration.

Among the accords is a memorandum of understanding to "guarantee the legal, orderly and safe flow of migration" between the two countries.

The Mexican government has not provided details of the agreement, but it comes as increasing numbers of Cuban migrants are arriving in the nation's south.