Question: which country had access to an ocean in 1830 but is now landlocked?
Answer: Bolivia