Diepflingen is a municipality in the district of Sissach in the canton of Basel-Country in Switzerland. History Diepflingen is first mentioned in 1251 as Dyephlinchon. Diepflingen gained some fame during the separation of Basel-Country from Basel-City by putting itself directly under federal rule, thus proclaiming the Republic Diepflingen. The Swiss Diet (Tagsatzung), however, didn't accept this, and after only 9 days the Republic was renounced and Diepflingen joined Basel-Country. Geography Diepflingen has an area, , of . Of this area, or 32.6% is used for agricultural purposes, while or 52.8% is forested. Of the rest of the land, or 12.5% is settled (buildings or roads), or 0.7% is either rivers or lakes. Of the built up area, housing and buildings made up 6.3% and transportation infrastructure made up 5.6%. Out of the forested land, 50.7% of the total land area is heavily forested and 2.1% is covered with orchards or small clusters of trees. Of the agricultural land, 12.5% is used for growing crops and 18.1% is pastures, while 2.1% is used for orchards or vine crops. All the water in the municipality is flowing water. The municipality is located in the Sissach district, on the right side of the Homburger stream on the old road over the lower Hauenstein. Coat of arms The blazon of the municipal coat of arms is On a base vert an argent tower-wall with gules gate and roof before sable background Demographics Diepflingen has a population () of . , 12.4% of the population are resident foreign nationals. Over the last 10 years (1997–2007) the population has changed at a rate of 14.1%. Most of the population () speaks German (449 or 88.7%), with Serbo-Croatian being second most common (18 or 3.6%) and Turkish being third (17 or 3.4%). , the gender distribution of the population was 48.6% male and 51.4% female. The population was made up of 497 Swiss citizens (86.3% of the population), and 79 non-Swiss residents (13.7%) Of the population in the municipality 98 or about 19.4% were born in Diepflingen and lived there in 2000. There were 181 or 35.8% who were born in the same canton, while 133 or 26.3% were born somewhere else in Switzerland, and 87 or 17.2% were born outside of Switzerland. In there were 5 live births to Swiss citizens and 2 births to non-Swiss citizens, and in same time span there were 5 deaths