Deus ex machina
Where does the phrase 'deus ex machina' come from?
From ancient Greek theatre. A machine, a kind of crane, lowered an actor playing a god onto the stage, who resolved an impossible situation in one stroke. The Latin phrase means 'the god from the machine' and today names any solution that falls from the sky.