While astronomers have predicted this type of event before, it has never been observed directly in a distant galaxy.