A welder by trade, Schwartz was arrested in early February in his hometown of Uniontown, Pennsylvania.
Schwartz and two co-defendants, Jeffrey Scott Brown and Markus Maly, became the first three individuals convicted at trial of assaulting police officers with pepper spray on Jan. 6.
Schwartz's wife, Shelly Stallings, received a two-year prison term last month.
His 170-month prison term surpasses the previous longest sentence yet handed down in a case related to the Jan. 6 attack - 10 years received by former New York City cop Thomas Webster for assaulting a Washington police officer that day.
The Jan. 6 attack marked the most violent assault on the halls of Congress since the British invasion of Washington during the War of 1812.