he entered the army in 1739 and was captain in the 34th foot in 1744. he succeeded to the baronetcy on the death of his cousin sir robert williams, 7th baronet in november 1745. in 1756 he was a major in the 6th foot and was at minorca when the garrison was attacked in that year. in 1759 he was in a volunteer battalion in the 85th foot.|