After the battle of Saratoga France realized that America might be worth backing. They formed an alliance with the colonies and sent naval fleets to help with the war.
1783 · Treaty of Paris is Signed
While Benjamin Franklin was the ambassador to France he negotiated with the French during the war to keep them on the American side. At the same time the Treaty of Paris was established.
Rise of Napoleon Bonaparte, First Consul, then Emperor of the French (1804). Establishment of modern administrative institutions, codification of the law. European wars lead to abdication of the Emperor.