In a statement, the Tehrik-e-Taliban Pakistan, also known as the Pakistani Taliban, has taken responsibility for the attack.