Pigs, sheep and other animals were allowed in tenement cellars until 1867. Housing legislation passed that year banned horses, cows, calves, swines, pigs, sheep and goats from tenements. However, pigs and other animals would sometimes be found living in tenements up until the early 20th century.