 On the remains of the ancient world the new Croatian inhabitants built their own monuments.For example, the first and most important church of the medieval Trpanj, dedicated to St. Peter, was built on the remains of a Roman villa.After the death of Mihajlo Višević (910-930), the first known ruler of Zahumlje, Pelješac underwent frequent changes of rulers.