A Wayland teen charged in connection with the death of his ex-girlfriend had been diagnosed with a depressive disorder weeks before the victim was found dead in a marshy area, his attorney said during opening statements Wednesday.