Militants linked to the Taleban and al-Qaida have been active along Pakistan 's rugged northwestern border with Afghanistan since a U.S.-led invasion forced the Taleban from power in Afghanistan in late 2001 .