In 661, Naples obtained from the emperor Constans II the right to be ruled by a local duke, one Basil, whose subjection to the emperor soon became merely nominal. Among his titles were patrikios (patrician) and hypatos (consul). At that time the Ducatus Neapolitanus controlled an area corresponding roughly to the present day Province of Naples, encompassing the area of Vesuvius, the Campi Flegrei, the Sorrentine Peninsula, Giugliano, Aversa, Afragola, Nola, and the islands of Ischia and Procida. Capri was later part of the duchy of Amalfi. He had authority over the neighbouring seaports of Gaeta, Amalfi, and Sorrento, though each of these was largely autonomous, especially during the later years of the Neapolitan duchy.