The answer has to be A.
Had indicate a thing happened before something else -- this is clearly marked by until.. so had is correct
ACE
E uses whether and there are no conditions or two outcomes i.e yes or no -- eliminate
C for the execting of -- execution of may have been appropriate
So A