WASHINGTON — Connecticut lawmakers took a dim view of President Donald Trump’s quip about national security at Thursday’s news conference at the White House.

In the wake of a Russian spy ship cruising near Groton this week, Trump dismissed the threat to Connecticut and the United States.

“The greatest thing I could do is shoot that ship that’s 30 miles off shore right out of the water,” Trump said during his roughly 80-minute meeting with the media.

So Rep. Rosa DeLauro, D-Conn., borrowed a page from the president’s playbook and took to Twitter.

“@realDonaldTrump just joked about blowing up a Russian spy ship off Connecticut's coast. Not okay — this is about our national security!” DeLauro tweeted Thursday at 1:57 p.m.

The president also used the vessel as an example of a national security matter that he wouldn’t normally tell the media about, saying that “hopefully, I won’t have to do anything, but I’m not going to tell you.”

Rep. Jim Himes, D-Conn., said that Trump made it seem like the best thing he could have done was “start a nuclear war with Russia,” and warned that statements like these “could escalate situations unnecessarily.”

Rep. Elizabeth Esty, D-Conn., also responded, saying “the fact that our commander in chief still fails to take this issue seriously is profoundly disturbing.” She also said that it is important to act against Russia’s “efforts to undermine our democracy.”

A U.S. defense official confirmed that a Russian intelligence ship was approximately 30 miles from the submarine base in Groton.

The ship, the Viktor Leonov, did not break any international laws or enter American waters, but this was the furthest north the ship has sailed. Two years ago, it was spotted near Kings Bay naval base in Georgia.