Complex sentence: Charles Louis did not share his mother and sister imprisonment, he was giving in custody to his grandfather Charles IV, the deposed King of Spain.
Split into simpler sentences: Charles Louis did not share his mother and sister imprisonment. He was giving in custody to his grandfather Charles IV, the deposed King of Spain.