When did Augusta become Maine's capital?

My research comes up with the year 1832. Augusta was officially made the capital in 1827, but the legislature did not sit there until 1832.