Two graduates of West Point, the US equivalent of Sandhurst, are the first men to marry each other at the military academy.
Larry Choate III married Daniel Lennox this afternoon at the US Military Academy's Cadet Chapel.
Both men are now out of the Army and both wore tuxedoes for the ceremony. About 20 guests attended, some in uniform.
The 28-year-old Mr Lennox is getting his master's degree in business administration at Harvard University. The 27-year-old Mr Choate is applying to Harvard's John F. Kennedy School of Government.
West Point hosted two same-sex weddings of women in 2012, more than a year after New York legalised gay marriage. But today's wedding was the first between two men at West Point.
Chaplain Cynthia Lindenmeyer officiated.