Input (grade 12): In the 10th century AD, it was the eastern border province of the Holy Roman Empire; castles were built here in order to move the borders eastwards.
Output (grade 6): In the 10th century it was the eastern border of the Holy Roman Empire.