What was the primary religion of Germany?