 The new prefecture was abolished in 361 by Julian and reestablished in 375 by Gratian.Its territory was contested between the two halves of the Empire, until the final partition in 395, when the Diocese of Pannonia was split off from the Illyricum and joined to the Western Empire and the prefecture of Italy as the Diocese of Illyricum.Despite the end of the Western Empire in 476, the Germanic successor states under Odoacer and Theodoric the Great continued to use the Roman administrative machinery, as well as being nominal subjects of the Eastern emperor at Constantinople.