In the early 2nd century AD, King Abgar VII joined the Emperor Trajan's campaign into Mesopotamia and entertained him at court. The king later rebelled against the Romans, however, which led to the Roman general Lucius Quietus sacking Edessa and putting an end to Osrhoene's independence in 116. In 123, during the reign of Hadrian, the Abgarid dynasty was restored with the installation of Ma'nu VII, and Osroene was established as a client kingdom of the Empire. After the Roman–Parthian War of 161–166 under Marcus Aurelius, forts were built and a Roman garrison was stationed in Nisibis (now Nusaybin. In 195, following a civil war in which the kingdom had supported his rival Pescennius Niger, Septimius Severus mounted an invasion and annexed the territory as a new province, making Nisibis the capital. However, the emperor did allow the king, Abgar XI, to retain the city of Edessa and a small territory surrounding it. In 213, the reigning king was deposed by Caracalla, and the remaining territory was incorporated into the Roman province of Osroene.