In 1798 a young Napoleon Bonaparte , eager to curtail growing British power , arrived in Egypt and after a short and decisive battle claimed the country for France .
Britain managed to wrestle Egypt from France 's hold a mere two years after its acquisition in 1798 .