Two Theorems On Galois Representations And Shimura Varieties