During the War of 1812, British troops invaded Washington, D.C. in 1814. As they advanced to within two blocks of St. Patrick's Church, fire from surrounding buildings spread to the roof of St. Patrick's. Matthews barricaded himself and others inside the sanctuary while most of the city's population fled. He went to the roof to put out the fire, then persuaded General Robert Ross not to destroy the church.