In 1409, a hospital was founded and placed under the patronage of Santa María de los Inocentes; to this was attached a confraternity devoted to recovering the bodies of the unfriended dead in the city and within a radius of three miles (4.8 km) around it. At the end of the 15th century this confraternity separated from the hospital, and continued its work under the name of "Cofradia para el ámparo de los desamparados". King Philip IV of Spain and the Duke of Arcos suggested the building of the new chapel, and in 1647 the Viceroy, Conde de Oropesa, who had been preserved from the bubonic plague, insisted on carrying out their project. The Blessed Virgin was proclaimed patroness of the city under the title of Virgen de los desamparados (Virgin of the Forsaken), and Archbishop Pedro de Urbina, on 31 June 1652, laid the cornerstone of the new chapel of this name. The archiepiscopal palace, a grain market in the time of the Moors, is simple in design, with an inside cloister and a handsome chapel. In 1357, the arch that connects it with the cathedral was built. In the council chamber are preserved the portraits of all the prelates of Valencia.
What was the archiepiscopal palace during the Moorish period?
a grain market