The Texas Department of Public Safety confirmed Wednesday that officers foiled a plan to attack the Texas State Capitol in Austin.