Lander was elected to the New York City Council in 2009, serving for twelve years, later serving as Deputy Leader for Policy. His district included portions of Brooklyn. In 2021, Lander was elected city comptroller, and assumed office on January 1, 2022.