When the latter dissolved in 1830 , Panama remained part of Colombia .