The correct option is C Had finished
If the action after "before" is a new action, use Simple Past. If the action after "before" started (and was not completed) before a certain time in the past, use Past Perfect. Therefore option (c) is the correct choice.