Obama said Rezko was a friend and supporter for many years , but that the charges facing him are not related to the senator .