MEXICO CITY -

California Gov. Jerry Brown has wrapped up a three-day visit to Mexico, saying he will work with the U.S. government upon his return home to find a long-term solution to the immigration crisis.

Brown said Wednesday that he "will make plain that California will not hesitate to do what it can to help."

He says his state is willing to shelter more migrant children if needed.

The governor says his trip to Mexico focused on improving California's relationship with its southern neighbor. Brown signed several non-binding agreements with Mexico on trade, education, environmental cooperation and labor.

Brown says California agreed to help Mexico find ways to build renewal energy plants in Baja California and to find ways to shorten long waits at the Tijuana-San Diego international border crossing.