Question: What year did the country, in which Ambrosius Blarer was known as an influential reformer, become a federal state of relatively autonomous cantons?

Context paragraphs:
Sonderbund War: The Sonderbund War (German: "Sonderbundskrieg" ) of November 1847 was a civil war in Switzerland, then still a relatively loose confederacy of cantons (states).  It ensued after seven Catholic cantons formed the "Sonderbund" ("separate alliance") in 1845 to protect their interests against a centralization of power.  The war concluded with the defeat of the Sonderbund.  It resulted in the emergence of Switzerland as a federal state, concluding the period of political "restoration and regeneration" in Switzerland.

Leonard Stöckel: Leonard Stöckel (also spelled as "Stöckl" or "Stöckelius", Hungarian: "Stöckel Lénárd" ; 1510–1560) was a Lutheran teacher, theologian, writer, humanist and an influential reformer.

History of Switzerland: Since 1848, the Swiss Confederation has been a federal state of relatively autonomous cantons, some of which have a history of confederacy that goes back more than 700 years, putting them among the world's oldest surviving republics.

List of political parties in Rojava: This is a list of political parties in Rojava.  The Federation of Northern Syria - Rojava has a political system based on bottom-up direct democracy, as well as a multi-party system, on three levels of government: Self-governing municipalities, self-governing autonomous cantons, and the federation as a whole.

Political divisions of Bosnia and Herzegovina: The political divisions of Bosnia and Herzegovina were created by the Dayton Agreement, which recognized a second tier of government in Bosnia and Herzegovina, comprising two entities: the Federation of Bosnia and Herzegovina (FBiH), with mostly Bosniaks and Croats, and the Republika Srpska (RS) with mostly Serbs – each governing roughly one half of the state's territory.  The Federation of Bosnia and Herzegovina itself has a federal structure and consists of 10 autonomous cantons.

Cantonalism: Cantonalism, mainly prevalent in late 19th century and early 20th century Spain, is a political option which aims to divide the state into highly autonomous cantons.

Washington Agreement: The Washington Agreement was a ceasefire agreement between the Republic of Bosnia and Herzegovina and the unrecognized Croatian Republic of Herzeg-Bosnia, signed in Washington on 18 March 1994 and Vienna.  It was signed by Bosnian Prime Minister Haris Silajdžić, Croatian Foreign Minister Mate Granić and President of Herzeg-Bosnia Krešimir Zubak.  Under the agreement, the combined territory held by the Croat and Bosnian government forces was divided into ten autonomous cantons, establishing the Federation of Bosnia and Herzegovina.  The cantonal system was selected to prevent dominance by one ethnic group over another.

Federation of Bosnia and Herzegovina: The Federation of Bosnia and Herzegovina (Bosnian, Croatian and Serbian: "Federacija Bosne i Hercegovine ", Cyrillic script: Федерација Босне и Херцеговине ; ] ) is one of the two political entities that compose Bosnia and Herzegovina, the other being Republika Srpska.  The Federation of Bosnia and Herzegovina consists of 10 autonomous cantons with their own governments.  It is inhabited primarily by Bosniaks and Bosnian Croats, which is why it is sometimes informally referred to as the Bosniak-Croat Federation (with the Bosnian Serbs as the third constituency of the entity).  It is sometimes known by the shorter name Federation of B&H (Federacija BiH).

Asayish (Rojava cantons): The Asayîş or Asayish (Arabic: الأسايش‎ ‎ , Syriac: ܐܣܐܝܝܫ‎ , Kurdish for "Security") is the police force of the autonomous cantons within the Democratic Federation of Northern Syria.  Formed in the early stages of the Syrian Civil War, it had initially been established to police areas controlled by the Kurdish Supreme Committee.  In October 2013, the Asayish claimed to have 4,000 members; by 2017, the number had reportedly risen to over 15,000.

Ambrosius Blarer: Ambrosius Blarer (sometimes Ambrosius Blaurer; April 4, 1492 – December 6, 1564) was an influential reformer in southern Germany and north-eastern Switzerland.

Supporting paragraphs: Ambrosius Blarer History of Switzerland
Answer: 1848