Maryland Gov. Martin O'Malley before signing Maryland’s same-sex marriage law in March. (Patrick Semansky/AP)

O’Malley has been booked as the “special guest” at the New Hampshire Democratic Party Convention on June 2 in Manchester.

An announcement cites both O’Malley’s role as chairman of the Democratic Governors Association and his championing this year of Maryland’s same-sex marriage law, which is likely to be petitioned to the ballot in November.

O’Malley’s national profile has been on the rise during his nearly year and a half as chairman of the DGA — though he has drawn some flak from lawmakers back home who accuse him of not paying enough attention to Maryland legislative matters.

In recent months, O’Malley — who has brushed off speculation about ambitions beyond Maryland — has become a regular on Sunday talk shows and made other appearances at Democratic gatherings around the country.

His trip to New Hampshire is his second this year to an early presidential nominating state. In January, he appeared at a national party news conference in South Carolina shortly before the Republican primary in that state.

O’Malley appeared at the same event in New Hampshire five years ago, as a stand-in for for Hillary Rodham Clinton, whom he had endorsed in the 2008 Democratic presidential primaries.