is nicaragua part of mexico?
In 1821, Mexico gained independence from Spain and Nicaragua became part of the First Mexican Empire. ... In 1838, the union dissolved and Nicaragua became an independent nation. One year later, in 1839, Mexico and Nicaragua established diplomatic relations.