I have been searching google images, tried a reverse search and found nothing. I have looked on many sites and cannot identify the service. I do know he has 9 buttons on his coat, 3 on the cuffs, red under the gold on the collar but I cannot find anything about the hat with the white pom pom. I am thinking he may be before 1815. There is a name on the back burned into the wood frame John/Joan R Byrne and this series co 4.26 or zg.9228 . There is also writing I cannot make out but it appears to be a name Hxxxxxx Hxxxxxxxxx and then grandfather.
Is he from the United States or could he possibly be from England? I am leaning towards a US Naval officer.