Complex sentence: Agnes had only one pregnancy, it ended in a miscarriage, in the first trimester, when she rode with her horse over a hill, who caused that she kept in bed for many months.
Split into simpler sentences: Agnes had only one pregnancy which ended in a miscarriage, in the first trimester, when she rode with her horse over a hill. This accident caused that she kept in bed for many months.