Edited sentence: At the head of the popular resistance against the subsequent Frankish occupation stood up the priest Slavomír from the House of Mojmír.But he secretly allied himself with Slavomír and after defeating the Frankish forces, he became the sovereign ruler of Great Moravia in 871.In 871, Carloman accused Svatopolk of breaking his oath of loyalty and imprisoned him in Bavaria.In 874, Svatopluk concluded peace with Louis the German and his sons in Forchheim and he promised to pay an annual tribute to the king.In 880, Pope John VIII took up his kingdom "under the protection of St.In May 872, King Louis sent Thuringian and Saxon troops against Great Moravia, but they were defeated.In the next year, Svatopluk allied himself to Carloman who invaded and occupied Rastislav's country and divided it among his followers.Moreover, Svatopluk helped Carlman to arrest his uncle with artifice and King Rastislav was blinded on the order of King Louis.Peter", which meant a status of legal equality to the Eastern Frankish Empire.Shortly afterwards, Carloman invaded Great Moravia but Svatopluk could defeat Carloman's soldiers he had left beneath to guard his ships.Svatopluk was quickly released and sent with Frankish reinforcement back to Great Moravia.Svatopluk was the nephew of Rastislav, King of Great Moravia and he was governing a separate territory in 869 when, in August, Carloman, the eldest son of the Eastern Frankish king Louis the German invaded and devastated his territories.The Pope also set up an independent ecclesiastical province in Great Moravia with Archbishop Methodius as its head and created a bishopric in Nitra