Correct option is C
- The structure hardly did + subject + base verb is an accepted inverted form used to show that one event happened almost immediately before another.
- Here, hardly did she reach correctly conveys that she barely reached the county seat when she was arrested.
- The connector when appropriately introduces the second action that followed immediately.
- Therefore, no part of the sentence is incorrect as per the intended construction.