A castle rose above the river