The Palace of Westminster in the early 17th century was a warren of buildings clustered around the medieval chambers , chapels , and halls of the former royal palace that housed both Parliament and the various royal law courts .
They were grouped around the medieval chambers , chapels , and halls of the old royal palace .