Portland was first temporarily selected as the Maine state capital.  In 1832 the capital was moved to the more centrally located site of Augusta.