Original: After the end of her second marriage to Ecgfrith, a prince of Northumbria, she set up and ruled a monastery at Ely in 673, and, when she died, a shrine was built there to her memory.
Simplified: She set up and ruled a monastery at Ely in 673, and, when she died, a shrine was built there to her memory.