Nancy Sammis Seem and Andrew James Shanahan were married Aug. 10 at St. Paul’s Roman Catholic Church in Princeton, N.J. The Rev. Michael P. McLoughlin performed the ceremony.

The couple met in 2013, when both took part in a Dartmouth program that sent them to Majuro, the capital of the Marshall Islands, in the Pacific Ocean, to teach as volunteers. Both graduated cum laude from Dartmouth, and then became corps members of Teach for America in New York City; the bride taught a second-grade class at South Bronx Classical Charter School in the Bronx, the groom taught a first-grade class at Success Academy’s Harlem One School in Manhattan.

Mrs. Shanahan, 27, is an account manager in sales and marketing at Google in Manhattan.

She is a daughter of Lauren Scancarelli Seem and Gary S. Seem of Princeton. The bride’s father is the president and chief executive of InStore Audio Network, a digital music and messaging provider in Princeton. Her mother was an administrative director of the Princeton Dante Project, a program dedicated to making an annotated, electronic version of Dante Alighieri’s “Divina Commedia” available to scholars.

Mr. Shanahan, 27, is to begin as an associate in September at Skadden, Arps, Slate, Meagher & Flom, the Manhattan law firm. He received a law degree in May from Columbia.