 Longford was educated at Kilkenny College and joined the Royal Navy at the age of sixteen.He served during the Seven Years' War taking part in naval engagements off the coasts of West Africa and North America.He was captured by the Spanish near the end of the war and held for over a year.