Question: In which centuries did a proliferation of secret treaties occur that led the United Nations Charter to include an obligation to register treaties to be invoked before it?
Sentence: This was done to prevent the proliferation of secret treaties that occurred in the 19th and 20th century.
Answer in sentence: yes