It was the work of a moment.