In 1863, Brooke retired to Britain, handing Sarawak over to his nephew Charles.
Charles received Sarawak from Brooke when he retired in 1863.
Things became much better in Scotland immediately after Charles II returned to the throne.