+0
He worked in the factory from 2005 to 2007 or He was working in the factory from 2005 to 2007. Are both of them possible?

And what about these sentences?
He worked in the factory until he was sacked.
He was working in the factory until he was sacked.
He had been working in the factory until he was sacked.
He had worked in the factory until he was sacked. Which of these are posssible?

Thank you
+0
He worked in the factory from 2005 to 2007 or He was working in the factory from 2005 to 2007. Are both of them possible?-- Yes

And what about these sentences?-- OK

He worked in the factory until he was sacked.
He was working in the factory until he was sacked.
He had been working in the factory until he was sacked.
He had worked in the factory until he was sacked.
Comments  
thank you for the answer