Complex sentence: Papillon knew Dega before boarding the transport to South America, they had agreed to protect each other while waiting in prison.
Split into simpler sentences: Papillon knew Dega before boarding the transport to South America. They had agreed to protect each other while waiting in prison.