<prompt> Translate the following text to SwahiliWith their French allies, Piedmont defeated Austria at Magenta and Solferino to secure Lombardy in 1859.  <response>: Pia, katika vita vya Magenta na Solferino, Piedmont ilishinda Austria na kupata Lombardy. 