What did the treaty establish?