lloyd joined the royal artillery as a second-lieutenant on 6march 1795. he was promoted to first-lieutenant on 18june 1796; to captain-lieutenant on 12september 1803; to second-captain on 19july 1804; to captain on 22october 1806 and to brevet major on 4june 1814.