Ahlin was born in Mariestad, Skaraborg County, Sweden. From 1981 to 1982, and again from 1984 to 1985, he was chairman of the local branch of the Swedish Social Democratic Youth League in Mariestad. Between 1985 and 1990 he was chairman of the Social Democratic Youth League in Skaraborg County. Between 1991 and 1998 he was chairman of the Social Democratic Party in Mariestad, Skaraborg County, and between 1999 and 2002 he was the deputy secretary general of the Social Democratic Party. Since 2005 he is chairman of the Social Democratic Party in Skaraborg County. Between 1985 and 1990 Ahlin studied at the specialist teacher-training course at Karlstad University. He then worked as a teacher at an upper level elementary school in Mariestad, teaching mathematics and general science, until being elected to the Swedish parliament in 1994. Between 2002 and 2006 Ahlin was chairman of the Committee on Foreign Affairs in the Swedish parliament. From 2006 to 2014, after the Social Democrats lost power in the 2006 election, he was deputy chairman of the Committee on Foreign Affairs. During this time, Urban Ahlin was the Foreign Policy spokesperson for the Social Democrats in the Swedish Parliament. In Parliament he held a number of different positions. He was a member of the Advisory Council on Foreign Affairs, a member of the War Delegation, and a deputy member of Committee on European Union Affairs. He was also a member of the party board of the Social Democratic Party. He has been the chair of the Socialist group in the OSCE PA, the Parliamentary Assembly of the Organization for Security and Co-operation in Europe. He is at the moment the deputy chair of the Swedish delegation to NATO Parliamentary Assembly Following the 2014 election, on 29 September 2014 Ahlin was elected Speaker of the Riksdag for the period 2014-2018. He succeeded Per Westerberg in that post.
Successful mediator
Urban Ahlin has been engaged in many mediations and negotiations. In 2007 he managed after extensive meetings and talks to get two Swedish construction workers out from the Iranian prison, Evin, in Tehran. He was the backchannel between Belarus and United States in negotiating the release of the imprisoned presidential candidate in Belarus, Alexander Kozulin. Kozulin was eventually released. Urban Ahlin was also the person behind the scene in the work to release the hostage at the headquarters of the Social Democratic Party in Stockholm. The staff had been taken hostage by a group of young members of PKK as a protest after the arrest of their leader Öcalan. Urban Ahlin was the channel talking directly to the youngsters making them to give up after Ahlin gave a promise to attend the court hearings in Turkey. Which he later did together with the former Swedish minister Carl Lidbom.