India and Pakistan fought over the region in 1947–1948. Under the supervision of the United Nations the two agreed on a ceasefire along a line which left the Kashmir Valley under the administration of India. In 1972, India and Pakistan sign a peace treaty called the Simla Agreement. It said that in the future both would settle their differences peacefully. It also renamed the ceasefire line the Line of Control. 