Original: Towards the end of the 4th century a border fort was constructed at the western settlement.
Simplified: Towards the end of the 4th century, a fort was built at the western settlement.