For the third quarter of 2021, we delivered adjusted EBITDA of $73.9 million, representing record third quarter performance.
Our gross leverage stands at approximately 2.5 times on a trailing 12-month adjusted EBITDA basis.
Based on our year-to-date performance and the expectation of continued strength in steel and coal markets for the remainder of the year, we are well positioned to modestly exceed our full-year 2021 adjusted EBITDA guidance of $255 million to $265 million.
Turning to Slide four, our third quarter net income attributable to SXC was $0.27 per share, up $0.30 versus the prior year period.
Adjusted EBITDA came in at $73.9 million for the quarter, up $26.1 million from the prior year quarter.
Overall, coke operations were up $17.7 million over prior year period.
Third quarter adjusted EBITDA per ton was $62 on 1,056,000 sales tons.
We expect full-year Domestic Coke adjusted EBITDA to come in modestly higher than the guidance range of $234 million to $238 million.
The Logistics business generated $11.6 million of adjusted EBITDA during the third quarter of 2021, as compared to $4.3 million in the prior year period.
The segment as a whole handled 4.9 million tons of throughput volumes during the quarter, as compared to 3.3 million tons during the prior year period.
As you can see from the chart, we ended the third quarter with a cash balance of $54.6 million.
In the third quarter, cash flow from the operating activities generated close to $79 million.
We spent $18.4 million on capex during the quarter and paid dividends of $5 million at the rate of $0.06 per share.
We lowered our debt by $51.7 million with the majority of the reduction coming in the form of paydown of our revolving credit facility.
Our total debt balance stood at approximately $615 million at the end of third quarter and we expect to continue to pay down the revolver over the balance of the year.
In total, we ended the quarter with a strong liquidity position of $291 million.
Finally, based on reliable performance of our operating segments and success of export and foundry products, we are well positioned to modestly exceed our adjusted EBITDA guidance of $255 million to $265 million for 2021.

Summary:
Based on our year-to-date performance and the expectation of continued strength in steel and coal markets for the remainder of the year, we are well positioned to modestly exceed our full-year 2021 adjusted EBITDA guidance of $255 million to $265 million.
Turning to Slide four, our third quarter net income attributable to SXC was $0.27 per share, up $0.30 versus the prior year period.
Finally, based on reliable performance of our operating segments and success of export and foundry products, we are well positioned to modestly exceed our adjusted EBITDA guidance of $255 million to $265 million for 2021.