Help with bird identification

Hi

Quite new to birdwatching, got into it using Merlin ID while out with the dog now hooked. Took this picture of what I thought was a Sandwich Tern at the time. Merlin suggested it’s a Bonapartes Gull but could also be a Black headed Gull. Any help would be greatly appreciated.

Thanks

Alan/resized-image/__size/1920x1440/__key/communityserver-discussions-components-files/907/IMG_5F00_0151.jpeg