单项选择题

She (would marry) him, (but) when she (learned) that he was a rascal, she (parted with) him.

A.would marry
B.but
C.learned
D.parted with