I have shapefiles with maps of school districts by state. However, some of these districts go beyond the state's area, shown below. How can I automatically adjust the boundries of the districts that extend beyond the state's land mass so that they don't any longer? Ideally, using qgis, but any solution is welcome. In other words, I'm just looking to cut off features in the school district shapefiles based on the Michigan feature in the U.S. map shapefile.