Consider the following statements with respect to the Lodi dynasty:
1. Ibrahim Lodi was defeated by Babur in the first battle of Panipat.
2. Ibrahim Lodi overestimated the strength of his army owing to his recent victory over Rana Sangha.
Which of these statements is/are correct?