Rupnagar is a city and a municipal council in Rupnagar district in the Indian state of Punjab. It was formerly known as Ropar. The town of Rupnagar is said to have been founded by a Raja called Rokeshar, who ruled during the 11th century and named it after his son Rup Sen. It is also the site of an ancient town of the Indus Valley Civilization. The major cities in Ropar District are Morinda, Kurali, Anandpur Sahib and Chamkaur Sahib. The town of Mohali was once part of Ropar District before it became a separate district in 2006. The Bhakra Dam in Nangal lies on the boundary with the neighbouring state of Himachal Pradesh.