Ram took birth to free the earth from the cruelty and sins of the demon King Ravana (Ravan). Ravana had practiced austerities in order to propitiate Shiva and Brahma, who had granted him immunity from being killed by gods, gandharvas or demons. One of the gods had to take on a human form in order to be able to defeat Ravana.
Ram was born as the first son of Dasharatha, king of Ayodhya. Ram's mother was Kausilya. Ram had three brothers : Bharata (Bharat) born from the second wife Kaikeyi, and Lakshmana (Lakshman) and Shatrughna born from the third wife Sumitra.
One day Saint Vishwamitra visited Ayodhya and asked Dashratha to send Ram and Lakshmana with him because the Yakshini (demon) Tarka - with her two sons Mareech and Subahu - were terrifying him and the other saints at his ashram. They were not letting them worship and meditate. Ram went with Lakshmana and Vishwamitra to kill Tarka. On the way to Saint Vishwamitra's ashram there was a dense forest. When they entered the forest Tarka came to kill them but Ram killed her and her son Subahu with a weapon given to him by Vishwamitra. Ram also shot an arrow at Mareech and threw him 100 yojan far away.
Later Ram went with Saint Vishwamitr to Mithila where the wise King Janak ruled. King Janak had organized a svayamvaraa (an acient custom wherein the bride chose her husband of her own accord from amongst a number of suitors). It was announced that whosoever will bend the bow of Lord Shiva will marry King Janak's daughter Sita. Sita was an incarnation of Lakshmi, the consort of Lord Vishnu. But none of the suitors was able to lift Lord Shiva's bow, except