What dynasty built walls ?
The Khitan leader , Abaoji 's second son Yelü Deguang , convinced Shi to found a new dynasty ( the Later Jin , 936946 ) , and received the crucial border region known as the Sixteen Prefectures in return .