While baking a pie, an oven mitt I had left in the oven caught fire and set off the smoke detector.

AWhile bakingBWhile attempting to bakeCWhile I was bakingDWhile it was baking

1 answer

The best option for clarity and grammatical correctness in this context is:

C. While I was baking

This option clearly indicates that you were the one baking the pie when the incident occurred.