Established in 2013 as a Euroskeptic party, the AfD became increasingly popular during the 2015 refugee crisis as it hijacked the anti-immigrant and anti-Islamist agenda, emerging as a right-wing populist force.