". "occurring" is not a finite verb and does not have a true grammatical subject; the logical subject is "discovery". "it" means the discovery; "did" means "occurred".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
GPY"verb-ing as it did"Could you please get me some other examples?