BEAUFORT — A former South Carolina firefighter has been sentenced to five years in prison for setting a series of fires that caused about $1.5 million in damage.

The Island Packet of Hilton Head reported that 24-year-old Bryan Yeager of Beaufort pleaded no contest to arson and other charges in court in Beaufort on Monday.

Yeager was accused of setting fires in 2007 and 2008 while he was a firefighter with the Lady’s Island-St. Helena Fire District. He had been charged with setting fire fires and could have been sentenced to 27 years in prison if he had been convicted on all charges.

Prosecutors say Yeager confessed to setting the fires in statements to Bluffton police.