"So it happened" or "So it came to pass." The author uses this phrase to introduce the next event in the story.
"a woman who was bathing in the courtyard of her house"