Old racist cap gun on eBay

For sale on eBay: an old cap gun that says "The Chinese Must Go" on the handle. Bidding opens at $195.

Picture 2-91

The Chinese Must Go Mechanical cast iron cap pistol. It is in excellent condition with most of its original black paint. It is marked Pat. 2, 79 on the barrel and The Chinese Must Go on the grip. You can see where the pigtail was attached but it is missing on the Chinese man. Works Well. 5 inches long x 5 inches high.

Detroit Dave says: "One of the weirdest things I've seen… trying to suss out the historical context, maybe after the transcontinental railroad was completed? Or perhaps a more regional thing, maybe in the PNW where there were a lot of Chinese immigrants? Anyone able to shed some light on this?"