Sentence:  <WSD>Only</WSD> then , when his glance focused on the divan and saw that it was empty , did he remember his earlier problem . 
Meaning of the word marked with <WSD> tags:  in the final outcome