What did the French government struggle to maintain?