At the outbreak of the war with Prussia in July 1870, however, he believed they would win within a few weeks.[125] After the German victory, Gobineau triumphantly used his own country's defeat as proof of his racial theories.[125] He spent the war as the maire (mayor) of the little town of Trie in Oise department.[126] After the Prussians occupied Trie, Gobineau established good relations with them and was able to reduce the indemnity imposed on Oise department.[127]