Berić, Milan, 1838-1856