thus what had started as a reaction against allowing germany to expand its territory and gain greater power in europe was gradually defined as a defence of democracy.

Make this proper case.
Thus what had started as a reaction against allowing Germany to expand its territory and gain greater power in Europe was gradually defined as a defence of democracy.