This could have been a not-so-happily ever after.