 Arlesheim was part of the Canton of Basel until it split into two half-cantons in 1832.Arlesheim joined Basel-Country and became the capital of a district.During the invasion of revolutionary France, the cathedral canons fled the city.