When did New Hampshire become a state?

New Hampshire was the 9th state in the USA; it became a state on June 21, 1788.