Overall annual sales declined 21% versus the prior-year record, reaching $839 million, with Metal Coatings down 8% to $458 million and Infrastructure Solutions declining by 32% to $381 million.
We continue to generate strong cash flow during the year with $92 million of net cash provided by operating activities.
We generated adjusted net income of $55 million and adjusted earnings per share of $2.11 per diluted share.
In line with our strategic commitment to value creation, we repurchased over 1.2 million shares for $48.3 million and distributed $7.6 million in dividends.
In Metal Coatings, we posted sales of $458 million while achieving operating margins of 23.3% on an adjusted basis, up nicely from the previous year.
Sales declined over 32% to $381 million, with adjusted operating income down 52% generating adjusted margins of 4.1%.
Restructuring and impairment charges for Infrastructure Solutions totaled $9.2 million for the year.
We anticipate sales to be in the range of $835 million to $935 million and earnings per share of $2.45 to $2.95.
For fiscal year 2022, AZZ will continue to execute on strategic growth objectives that drive shareholder value.
For the fourth quarter of fiscal year 2021, we reported sales of $195.6 million, $49.7 million or 20.3% lower than the fourth quarter of fiscal year 2020.
Gross margin of $45.8 million for the quarter was $5.3 million or 10.4% below prior year.
However, gross margins rose to 23.4% of sales compared to 20.8% in the prior year fourth quarter, a 260 basis point improvement year-over-year.
Net income for the quarter was $16.2 million compared to a loss of $10.6 million in the comparable prior year fourth quarter, where the company had recorded a loss on sale of our Nuclear Logistics business and recorded charges related to the impairment of assets within the Infrastructure Solutions segment.
Reported diluted earnings per share for the quarter was $0.63 per share.
As Tom had earlier indicated, full year fiscal 2021 sales of $838.9 million were down 21% compared to the prior-year sales of $1.06 billion, largely as a result of the impact to the business from the pandemic, divestitures and lower revenues in China as we continue to execute on our existing China backlog.
Gross margins as reported improved to 22.5% from 22.3% on a year-over-year basis on stronger Metal Coatings performance, partially offset by the impacts of the pandemic within our Industrial and Electrical platforms, which are part of our Infrastructure Solutions segment.
Reported operating profit for the year of $61.6 million was $17.7 million or 22.3% lower than the prior year.
Operating profit in the current year was reduced $20 million as a result of our second quarter restructuring and impairment charges as well as losses recorded on the divestitures of Metal Coatings GalvaBar business and Infrastructure Solutions SMS business during the year.
Reported operating margins of 7.3% were down 20 basis points from the prior year.
Full-year operating profit as adjusted was $81.6 million, $25.5 million or 23.8% lower than the prior year's adjusted operating profit of $107 million, mostly as a result of the impact on the Infrastructure Solutions business, where they were impacted more strongly by the Energy market downturn in the pandemic.
EBITDA for fiscal year '21 was $105.2 million compared with $128.5 million in the prior year due to the lower current year earnings, partially offset by a reduction in tax expense in the current year as compared to the prior year.
Full year EBITDA as adjusted for impairment and restructuring charges was $125.2 million or 19.9% decrease from prior year's adjusted EBITDA of $156.3 million.
Cash flows from operations in the current year of $92 million were $50 million -- $50.3 million or 35.3% lower compared to the prior year, on lower net income, higher non-cash charges in the prior year and fluctuations in working capital during the year.
We repurchased $48.3 million in outstanding shares.
We refinanced our $125 million 5.42% senior notes with an upsize offering of $150 million over 7-year and 12-year periods bearing interest under 3%, resulting in $2.5 million of lower annual interest expense.
Even with the pandemic, we were able to reduce debt $24 million, ending our fiscal year with $170 million -- $179 million of borrowings, compared to $203 million in borrowings at the end of last year.
We continue to support growth initiative by internally investing $37.1 million in capital projects during the year.
We remain committed to our growth strategy around Metal Coatings and achieving 21% operating margins with galvanizing performance being quite steady as we continue to improve Surface Technologies.

Summary:
For fiscal year 2022, AZZ will continue to execute on strategic growth objectives that drive shareholder value.
For the fourth quarter of fiscal year 2021, we reported sales of $195.6 million, $49.7 million or 20.3% lower than the fourth quarter of fiscal year 2020.
Reported diluted earnings per share for the quarter was $0.63 per share.