It worked well for a while, until it didn't work at all.
It had worked for a length of time but now no longer works.
mnli hypothesis: It had worked for a length of time but now no longer works. premise: It worked well for a while, until it didn't work at all.