Detailed Instructions: Generate a correct and concise answer for the question based on the words in the context.
Problem:Context : Admiral of the Fleet Sir Thomas Byam Martin, GCB (25 July 1773 -- 25 October 1854) was a Royal Navy officer.
Question : With which military branch did Thomas Byam Martin serve with?
Solution:
Royal Navy