Gothic architecture was a historical building style in European art, which lasted from about 1200 to about 1500. Most of the buildings done in the style are churches or cathedrals. The style was also used for palaces, and buildings that had no association with the church. Many of the ideas and concepts used when building churches were also used for buildings, which had no relation to the church.
Castles and palaces
Castel del Monte in Apulia, 1240–1250, Gothic and proto-renaissance - this palace did not have any military function
Palace of the Popes in Avignon, former papal residence, 1334–1370