When horses were the main form of transportation, how did cities deal with all the waste?

by Boredeidanmark

To narrow down the frame, if necessary, in large American and Western European cities from the mid-eighteenth to early twentieth centuries, how did municipalities deal with all the piss and shit created from horses riding around the city?

Searocksandtrees