What year did Andrew Jackson run for president?

He ran for president in 1824, 1828 , and 1832. He won the election the last 2 times.