Kanadas parlament. Here’s a Wikipedia category of different countries: https://sv.wikipedia.org/wiki/Kategori:Lagstiftande_f%C3%B6rsamlingar_efter_land
Nowadays, a ledamot is a medlem who has been either chosen or elected to take on some corporate or political responsibility. Historically, being a ledamot meant you were a medlem with the right to make, influence, or assuage decisions.
That said, the choice is often largely idiomatic, and you have to learn when to use ledamot. For instance, you would be a ledamot of the Swedish Academy, but styrelsemedlem means member of the board. I would advise to just use medlem as a default if you're unsure, since it's vastly more common for everyday scenarios.