Maryland Gov. Martin O'Malley, left, talks with Arkansas state Sen. Jonathan Dismang during a meeting on healthcare at the Southern Governors' Association in Little Rock, Ark., on Saturday. (AP Photo/Danny Johnston)

During an appearance at a Democratic picnic in New Hampshire on Sunday, Maryland Gov. Martin O’Malley (D) said the unrest in Ferguson, Mo., highlights divisions in the country that will require urgent “work of the heart” to heal.

O’Malley, who is preparing for a possible 2016 White House bid, also touted his work in Maryland, including raising the minimum wage, “driving down” the violent crime rate and legalizing same-sex marriage. He characterized the latter as part of his state’s effort to create “a more open and caring and loving society.”

O’Malley’s appearance in Somersworth, N.H., at an event hosted by the Stafford County Democrats, was his third visit since November to the nation’s first presidential nominating state. An audio recording of O’Malley’s remarks Sunday afternoon was shared by an aide with The Post.

Speaking of the events in Ferguson, where an unarmed black teenager was shot to death last week by a white police officer, prompting days of protests, O’Malley said: “If nothing else, it should us remind us all of the urgent work we still have to do as a nation.”

“There are gulfs and gaps and divisions and fears that separate us from one another in places throughout our country,” O’Malley said. “ It is really in healing, in bringing people together, in strengthening the connections that help us to understand that in fact we’re all in this together, that we need each other. That’s really the urgent work that’s required at this time in our country.”

O’Malley said that is “not work that we can delegate to government. … This is the work of every American citizen. It’s work of the heart that’s actually going to turn around our country and give us better days ahead.”

The picnic in New Hampshire was part of a busy weekend of out-of-state travel for Maryland’s governor. On Friday, he addressed a Democratic party dinner in Mississippi, and on Saturday he was in Arkansas for a meeting of the Southern Governors’ Association.