It wasn’t held in a hall but in a hospital.

And only a fraction of the wedding party could come.

But Garrett FitzGerald, 30, and his fiancee, Long Island native Joan Lyall, 28, didn’t mind: They were more interested in saying their vows than anything else.

FitzGerald, a member of the Secret Service who worked out of the Boston office, was paralyzed from the chest down Dec. 29 in a on-duty car accident in Wakefield, New Hampshire.

The driver who struck his vehicle head-on died in the crash.

While the couple initially planned a more lavish affair set for March, they decided immediately after the accident to wed on Jan. 9 inside the intensive care unit of Boston’s Massachusetts General Hospital.

advertisement | advertise on newsday

Lyall, from Malverne, wore a white dress, small veil and a string of pearls.

The groom donned a white shirt, black vest and black tie.

Lyall, who had been dating FitzGerald for nine years before they wed, held his hand and smiled throughout what was to be their dance together.

The impromptu service left everyone scrambling to make the event as elegant as possible, the bride’s mother, Julie, said.

A hospital social worker morphed into their wedding planner. Guests dined on monogramed cupcakes and sparkling cider at the emotional ceremony.

Only 16 people attended the wedding but dozens more — who had originally planned to fly in for it this spring — watched from home.

“His uncle set up a web sharing session,” the bride’s mother said. “People all over the world were able to be there for it. I had friends of mine here on Long Island who were crushing glasses and saying mozel tov from Port Washington.”

She said FitzGerald has regained some movement in his right arm and that his family and friends are praying for a complete recovery.

“They are two incredible people that have met every obstacle put in their way up until this point,” she said. “I have no doubt in my mind that they will continue to accomplish and endure as they go forward. They are the loves of each other’s lives.”