The Tin Princess (1994) is a young adult novel by the English author Philip Pullman, part of the Sally Lockhart series.
As tutor to the cockney Princess (Adelaide of The Ruby in the Smoke, whose fortunes have greatly changed) of Razkavia, a tiny kingdom in Europe, she is plunged into a turmoil of murder and intrigue.
After the death of his older brother William, he becomes crown prince of Razkavia and returns there with Adelaide, Becky and Jim Taylor.
Jim Taylor is a young man who offers Prince Rudolf his services as a private detective to protect him from assassination attempts.
Later, he follows Rudolf to Razkavia and becomes his and Adelaide's close advisor, trying to uncover a conspiracy which threatens to dethrone the queen.