In reply to this post:

@litherum it was the naval ensign of Massachusetts during the war.