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.