Historic church saved by firefighters