The territory of Lovran and its surroundings were inhabited in prehistoric times. The Liburni tribe ruled until the arrival of the Romans. The Liburni, famous sailors, attacked and plundered Roman ships until the 1st century B.C. when they were conquered by the Romans. After the fall of the Roman Empire in the 5th century, the Ostrogoths came to the area and in the 6th century, the area fell under Byzantine rule. In the 7th century, the Slavs arrived and ruled until the arrival of Franks in the 8th century. In the 12th century, Lovran belonged to the patriarchs of Aquileia and during that period it became an important trading and shipbuilding center for the northern Adriatic Sea. It fell under the authority of the Habsburg family in the 14th century. The 17th and 18th centuries were years of development for Lovran, its maritime trade and general prosperity.