Black-Headed Grosbeak

I came across this bird on one of my walks last week. I've not seen this particular bird before and my Merlin Photo ID app says it's a black-headed grosbeak. It flew into the trees and was difficult to photograph. Maralee