Facts: - institutions: institution of civil engineers -lrb- president -rrb- - image width: 200px - discipline: civil - name: alfred giles - nationality: british - image: alfredgiles.jpg - birth place: london Based on these bullet points, write a short biography describing the life of alfred giles -lrb- civil engineer -rrb- .
alfred giles -lrb- 3 october 1816 -- 1895 -rrb- was a british civil engineer and conservative politician who sat in the house of commons between 1878 and 1892 .giles was born in london , the second son of francis giles canal builder and railway engineer and his wife mary ann wyer , daughter of samuel wyer of birmingham .he was educated at charterhouse school and became a civil engineer , constructing railways and dock works in britain and overseas .he was consulting engineer to southampton dock co. , chairman of union steamship co. and a director of commercial union fire and life assurance co. .giles was also created a knight of the order of the dannebrog by king christian ix of denmark .he lived in godalming in surrey .giles was elected member of parliament for southampton , first winning his seat in a by-election in 1878 , sitting as a conservative .he lost his seat at the 1880 general election but regained it in another by-election in 1883 .he retained his seat at the 1885 and 1886 general elections but was defeated in 1892 by the conservative tankerville chamberlayne .giles served as president of the institution of civil engineers from may 1893 to may 1894 .giles married jane emily coppard , daughter of john coppard of hastings in 1838 .their son charles tyrrell giles was a lawyer and politician .they also had a daughter , mary .