There was a loud bang in the middle of the night.