By 20:00, the fire was under control, having burned for nine hours, although it continued to burn for another three hours.
The fire was under control. This was by 20:00. The fire was having burned for nine hours, although it continued to burn for another three hours. This was by 20:00.