Rewrite the following compound sentence as a complex sentence by changing the italicized clause to a subordinate clause.
Harry drew near the fire, and he nearly singed his jacket.
Harry drew near the fire, and he nearly singed his jacket.