Original: Independence was restored in 1813 and on August 4, 1815 the Valais finally entered the Swiss confederation as a canton.
Simplified: Valais became independent again in 1813 and on August 4, 1815 decided to join the Swiss confederation as a canton (state).