Choose the correct answer and type it.
At this time yesterday, I \(wrote/was writing/had written\) an essay.