The first guru of Sikhism, Guru Nanak, founded Kartarpur in 1504 CE on the right bank of the Ravi River and established the first Sikh commune there. Following his death in 1539, Hindus and Muslims both claimed him as their own and raised mausoleums in his memory with a common wall between them. The changing course of the Ravi River eventually washed away the mausoleums.