 From 1456 Trpanj had been administered by the newly established captaincy in Janjina.However, since Trpanj was on the coast, unlike Janjina, the Janjina captain spent most of his time in Trpanj, despite the fact that Janjina was more populous.When Ragusan nobility divided Pelješac among each other in 1344, Trpanj was sectioned into 4 parts