I don't know what the Swedish limits are, but in Finland the "right the charge a person of a crime" (whatever it would be called in English) will expire in:
- never, if the maximum sentence would be life
- 20 years, if the max is more than 8 years
- 10 years, if the max is 2-8 years
- 5 years, if the max is 1-2 years
- 2 years, if the max is less than 1 year or a fine
- if the crime was a "serious sexual crime
against a child" it will expire at earliest
when the victim turns 28