Whereupon the jailer , a sort of bear , trained to lock and unlock the gates of the prison , had greeted him and admitted him into the building , the doors of which were immediately closed again .
После этого тюремщик, своего рода медведь, обученный запирать и отпирать ворота тюрьмы, приветствовал его и впустил в здание, двери которого тотчас же снова закрылись.