a year later , in new hampshire 's sister state of maine , the voters turned away from both the democrat , george mitchell , and the republican , james erwin , and elected an insurance man from lewiston named james longley their governor .