Which of the following sentences is grammatically correct?
Breaking down the door, the smoke that the firefighters encountered almost overwhelmed them.
The smoke breaking down the door that the firefighters encountered almost overwhelmed them.
The smoke that the firefighters encountered breaking down the door almost overwhelmed them.