Mahavir Swami

Consider the following statements:

  1. Mahavir Swami was the 24th and the last Tirthankara who succeeded the 23rd Tirthankara, Parshvanatha.
  2. He was born into Ikshvaku dynasty as the son of King Siddhartha of Kundagrama and Queen Trishala.
  3. Mahavira taught that observance of the vows of ahimsa (non-violence), satya (truth), asteya (non-stealing), brahmacharya (chastity), and aparigraha (non-attachment) are necessary for spiritual liberation.
Which of the statement(s) given above is/are correct?

A
Only 1
B
1 and 2
C
1, 2 and 3
D
2 and 3