The French had embarked on a complex land and naval campaign in the Mediterranean, with the ultimate aim of launching an invasion and occupation of Egypt. The British were aware that the French had amassed a large army, led by General Napoleon Bonaparte, but their destination was unknown. Rendezvousing with Troubridge's squadron on 7 June, Nelson now had a sufficient force to engage the French, and began to comb the Mediterranean. The search lasted nearly two months, with the British force tracking westwards, and then back east, sometimes missing the French force by days. The French force, after invading and capturing Malta, arrived off Alexandria on 1 July and began landing troops. It was not until 25 July that news reached Nelson, by then at anchor off Sicily, that the French fleet had appeared off Egypt. He took his fleet to sea, and arrived off Alexandria on 1 August, but found the harbour empty. Heading east, he discovered the French fleet, consisting of thirteen ships of the line, four frigates and a number of gunboats, at anchor in Abu Qir Bay.