Manhattan federal prosecutors threw the book at a Brooklyn man accused of setting Manhattan ablaze over a three-day period with more than a dozen arsons, including at busy Penn Station in midtown.

Jamaal Deese, 24, was hit with four counts of arson Thursday and faces a maximum sentence of 80 years in the slammer if convicted.

The feds say Deese was behind a string of arsons carried out between Aug. 5 and Aug. 7, including trashcan fires in the bathrooms of at least four midtown restaurants as well as outside and inside the Amtrak terminal at Penn Station.

He was busted Wednesday evening after he returned to the scene of the crime at a restaurant where he allegedly ignited one of his fires.