“I’m not sure whether I will get involved at all” in the race, Rep. Elijah E. Cummings said. (Mark Wilson/Getty Images)

U.S. Rep. Elijah E. Cummings, a deeply popular Democrat from Baltimore, said Thursday that he has not decided whether to endorse either candidate in the tightly contested Senate race to fill the seat being vacated by retiring Sen. Barbara A. Mikulski (D).

Cummings said he will make a decision soon in the heated battle between Reps. Donna F. Edwards and Chris Van Hollen.

“I’ll make a decision as to what I’m going to do,” Cummings said. “I’m not sure whether I will get involved at all.”

An endorsement from the 10-term congressman would be major coup for both candidates, who are from the Washington suburbs and need a strong showing in Baltimore.

Cummings, who toyed with the idea of running for Mikulski’s seat, said he thinks highly of both Edwards and Van Hollen.

“Both of them are my friends, so I just have to figure out whether I want to get involved,” said Cummings, who was in Annapolis to thank the Maryland General Assembly for providing aid to Baltimore during its 90-day session, which will end Monday.

A recent Washington Post-University of Maryland poll shows that the race is tight and sharply divided along racial lines.

Cummings, the ranking Democrat on the House Oversight Committee, decided in February to remain in the House and seek reelection.

Earlier polls showed that Cummings would lead Edwards and Van Hollen if he joined the race.