'Twas an experiment most noble, but through mischance going sadly awry.
The experiment was noble, but went awry due to mischance.
The teenage boy took his little sister's firetruck because he thought it wasn't a girl's toy.