when civil war exploded he was in republican madrid