Elected to the Senate by the New York State Legislature in 1821 , Van Buren supported William H. Crawford for president in the 1824 election , but by 1828 had come to support Jackson .
Martin Van Buren was elected to the US Senate .