Pete Davidson apologized on “Saturday Night Live” this weekend to Dan Crenshaw, the former Navy SEAL and newly elected representative he mocked last week in a widely criticized “Weekend Update” segment. In a surprise cameo, Crenshaw appeared alongside Davidson to take a few humorous potshots of his own and then, more earnestly, to try to find some common ground.

During a segment last week about 2018 political candidates, Davidson spoke in front of a picture of Crenshaw, a Texas Republican who wears an eye patch because of an injury he sustained from an I.E.D. explosion in Afghanistan. “You may be surprised to hear he’s a congressional candidate from Texas and not a hit man in a porno movie,” Davidson said. “I’m sorry, I know he lost his eye in war or whatever.”

Davidson’s remarks were denounced by elected officials and political organizations like the National Republican Congressional Committee, which called for an apology. In an interview on NBC’s “Today” show, Davidson’s castmate Kenan Thompson said the joke “missed the mark.” For his part, Crenshaw said in his victory speech on Tuesday that Americans “are not a people that shatter at the first sign of offense.”