Answer:
In 1874, he copatented (with Charles W. Brown) an improved toilet system for railroad cars called the Water Closet for Railroad Cars. A water closet for railroad cars is an on-board toilet. The phrase "water closet" means "room with a toilet" or modernly known "bathroom."