They were walking in the palace's garden/ in the garden of the palace.