A distant galaxy dies as astronomers watch