Howard University Hospital released Councilman Marion Barry after treating him for dehydration and a mild infection, according to his office.
The Mayor for Life drove himself to the hospital a week ago when he wasn't feeling well and was admitted after a series of tests. On Tuesday, he was moved to intensive care as a precaution.
Barry said he Monday he is feeling much better.
"I would like to first thank God for giving me the strength to rise above," Barry said in a release his office issued Monday. "By His grace and the wonderful work of my doctors and the staff at Howard University Hospital, I am able to address my health issues more effectively. Nearly eight months after receiving a new kidney, I am feeling very well and I am ready to get back to work."
Infections are common for people who have undergone a kidney transplant, doctors said.