In the 10th Chapter of Srimad Bhagavad Gita, Sri Krishna said as follows:
पवनः पवतामस्मि रामः शस्त्रभृतामहम्।
झषाणां मकरश्चास्मि स्रोतसामस्मि जाह्नवी।।10.31।।
"Among the purifiers (or the speeders) I am the wind; Rama among the warriors am I; among the fishes I am the shark; among the streams I am the Ganga."
Now, a question arises as to which Rama was being referred to in this Sloka, was it Rama, the son of Dasaratha (or) Rama, the son of Jamadagni, as both of them preceded Sri Krishna.