The Master of Red Assassin, Shirou was dispatched by the Church as one of the Masters of the Red Faction. He wants to make use of the Holy Grail War to fulfill his own wish.
(Source: Type-Moon Wiki)