After the French revolution, their government executed or dismissed many of their best officers. They often came from the aristocracy or had royalist loyalties and were thus politically suspect. Replacement officers were often appointed purely based on revolutionary ideology with little attention paid to experience or competence. At times the government was also just short of cash and supplies needed to keep the navy running.