Austria later became engaged in a war with Revolutionary France, at the beginning highly unsuccessfully, with successive defeats at the hands of Napoleon, meaning the end of the old Holy Roman Empire in 1806. Two years earlier, the Empire of Austria was founded. From 1792 to 1801, the Austrians had suffered 754,700 casualties. In 1814, Austria was part of the Allied forces that invaded France and brought to an end the Napoleonic Wars.