The Palazzo dei Priori in Perugia, begun in 1293 and greatly remodeled in the 14th century, was, despite its urban character, endowed with battlements, like almost all communal palaces in the period.
The photo shows the façade of the palace.