 Complete the following phrase:  Appointed Brigade Major to Brigadier-General Thomas Graham, Hamilton was present at the Siege of Malta then joined the Expedition to Egypt under Lieutet-General Sir Ralph Abercromby. While in Egypt he was thanked by Lieutet-General Sir John Doyle in public orders for his conduct in the engagements of the 13 and 21 March and 17August 1801. Hamilton then commanded several light infantry battalions in Ireland before his regiment joined Wellingtons army in Portugal. He was present at the 