Wayne Rooney announced he was leaving DC United three days before being appointed as Birmingham City boss.