JPMorgan Chase (JPM) CEO Jamie Dimon explained to CNBC that the lender is trying to resolve legacy mortgage security claims with the U.S. Department of Justice.

"I am so proud of this company. That's what I think about when I wake up everyday," he added in an interview that aired on "Squawk Box," saying that "260,000 people around the world are doing a great job for our clients. We're gaining market share. We're doing great stuff. We're trying to get our problems behind us."