Question: By the end of what century were most beer houses closed?
Sentence: Although the new licensing laws prevented new beer houses from being created, those already in existence were allowed to continue and many did not close until nearly the end of the 19th century.
Answer in sentence: yes