The Cárcel de Corte is a building based on a four-wing design. This was the court prison which is now the Ministry of Foreign Relations. Gómez de Mora received the commission for the prison and delivered the plans which showed two internal courtyards - a concept derived from college building.