Complex sentence: The image was placed in the Royal Hospital of Madrid, where it became famous "for the numerous favors granted by Heaven through her".
Split into simpler sentences: The image was placed in the Royal Hospital of Madrid. Here, the image became famous "for the numerous favors granted by Heaven through her".