Cuando Ana visitó a María en el hospital , ella ya estaba fuera de peligro .
when Ana visited to Mary in the hospital she already was out of danger
When Ana visited Mary in the hospital, she was already out of danger.