question: Until when did the King of Portugal remain in Brazil ?
answer: until the Liberal Revolution of 1820
turker_answer: King of Portugal remained in Brazil until the Liberal Revolution of 1820 .
rule-based: The King of Portugal remained in Brazil until the Liberal Revolution of 1820 .