The Ottoman Empire was only briefly involved in the Napoleonic Wars through the French campaign in Egypt and Syria, 1798–1801. It was not invited to the Vienna Conference. During this period the Empire steadily weakened militarily, and lost most of its holdings in Europe (starting with Greece) and in North Africa (starting with Egypt). Its greatest enemy was Russia, while its chief supporter was Britain.