Henry S. Parmalee patented the fire sprinkler system.

The invention became very popular, and roughly 200,000 systems were sold between 1878 and 1882.

Source