Which of the following statements regarding Jainism is correct?
I. Vardhaman Mahavira was born in $5^{\text{th}}$ Century CE.
II. Mahavira was the $24^{\text{th}}$ Tirathankar.
III. Jains worship Lord Shiva as Mahavira.
IV. The principle of Ahimsa is emphasised in Jainism.