At first, I thought it might be Robinia pseudoacacia, the Black Locust tree, but the form and bark are not compatible, and Black Locust seed pods are usually straight,not curved.
Thank you for your reply. I am sending one more picture for your reference. Hope it can help to identify this plant exactly.