Which sentence uses both a participial and an infinitive phrase?

AKeeping with the rhythm, the dancers swayed to the soft music
BKevin's parents decided to increase the punishment every time he stayed out past curfew
CAnnoying me into a rude awakening, the alarm continued to buzz loudly in my ear
DLooking through the room, Becky continued with her survey