Dr. Preston Burke ( Isaiah Washington ) departs at the conclusion of the third season , and is replaced by Dr. Erica Hahn ( Brooke Smith ), who leaves the show during the fifth season , and later Dr. Teddy Altman ( Kim Raver ), who departs at the end of the eighth season .