Ralph Waldo Emerson famously said, “Build a better mousetrap, and the world will beat a path to your door.” But a California company says that when it achieved that goal and won a patent for a device that electrocutes rodents, one of its competitors beat a path to China and illegally copied its invention.

Now a federal jury has agreed and awarded $2.7 million to AgriZap Inc. in a patent infringement and fraud suit that accused a Pennsylvania company of stealing the design for the “Rat Zapper.”