 The Candigliano is joined by the Biscubio in the vicinity of the town.Although the area was settled in Etruscan and Roman times, Piobbico is known from the Middle Ages as the seat of Brancaleoni lords, who held it from c. 1000 until the 19th century.Starting from the 12th century they ruled over the whole Massa Trabaria, until, after their opposition to Papal commander Gil de Albornoz and Pope Martin V they gave away their title of Duke to Federico Montefeltro in 1474, before receiving from the same Federico Montefeltro the coat of arms of the Duke of Urbino.