At what year did Kennedy take office as New York Senator ?
Maxwell Kennedy endorsed then - Senator Barack Obama early in the primary season , and campaigned for Senator Obama throughout 2008 at approximately 200 events in crucial swing states , including Ohio , Colorado , New Mexico , Virginia , and Pennsylvania .