James Bond actor Daniel Craig secretly married actress Rachel Weisz last week in a private ceremony in New York City with just four guests.

The pair had been dating for just over a year.

Two of the guests were Craig’s daughter, Ella, 18, from a previous marriage, and Weisz’s son, Henry, 4, from her nearly 10-year relationship with “Black Swan” director Darren Aronofsky.

Weisz, 41, and Craig, 43, were first linked last fall and recently enjoyed a romantic break in Paris. The newlyweds met last year while filming the movie “Dream House” and were rumored to have been dating while they were working together.

At the time, Weisz, best known for “The Mummy” and her 2006 Oscar for “The Constant Gardner,” was still romantically linked to Aronofsky.

Reps for Weisz and Aronofsky said the couple separated months ago.

A rep Craig told The Post, “I can confirm they are married,” but declined to reveal further details.