Choose the correctly punctuated sentence:

A) Upon hearing the Huskies were playing the Ducks she immediately bought tickets.
B) Upon hearing the Huskies, were playing the Ducks she immediately bought tickets.
C) Upon hearing the Huskies were playing the Ducks, she immediately bought tickets.

My answer is C

Right.