I was just reading this online:
Earl of Dalhousie - Wikipedia, the free encyclopedia
William Ramsay succeeded to the Maule estates in 1784 and was created Baron ... Sir Henry Ramsay (1816–1893), a General in the Bengal Army, whose ...
this is just a bit of info - Ramsay/Maule, Ramsay/Melville, Ramsay/Melvin have mant connections both in pedigree, but as friends and in battles fought. Wikipedia is a great source of information.