Ended And When in the YLT
2 verses of the Young's Literal Translation have both "ended" and "when".
Matthew 7:28 And it came to pass, when Jesus ended these words, the multitudes were astonished at his teaching,
Matthew 11:1 And it came to pass, when Jesus ended directing his twelve disciples, he departed thence to teach and to preach in their cities.