Yes, that's right. In the Province of Canada, 1840 to 1867, is the ancestor both of our federal Parliament and also of the legislatures of Ontario and Quebec. The actual legislation was passed in the 1850s requiring you to resign your seat and then seek re-election in order to be put in cabinet. It was continued at the federal level. I don't know what happened at the provincial level in Ontario and Quebec. It's one of those interesting questions. However, at the federal level it continued until the 1930s. An interesting historical note—
On March 21st, 2017. See this statement in context.