Was Maine an original colony or was it a part of territory?

Maine and Massachusetts were part of the same territory therefore part of the 13 Original colonies - http://www.socialstudiesforkids.com/graphics/13mapnew.htm