{{Short description|Australian politician}} {{other people|William Foster|William Foster (disambiguation){{!}}William Foster}} {{Use Australian English|date=August 2021}} {{Use dmy dates|date=August 2021}} thumb|William John Foster, NSW politician, c1894 '''William John Foster''' (13 January 1831 – 16 August 1909) was a politician and Supreme Court judge in colonial New South Wales, Attorney General from 1877 to 1878.<ref name=adb>{{Australian Dictionary of Biography |first=Martha |last=Rutledge |title=Foster, William John (1831–1909) |id2=foster-william-john-3560 |accessdate=19 December 2013}}</ref>
Foster was born in Rathescar, County Louth, Ireland, the son of Rev. William Henry Foster of Loughgilly, County Armagh, and his wife Catherine, {{nee}} Hamilton.<ref name=adb/> Foster was educated at Cheltenham College, and at Trinity College Dublin, where he took the Vice-Chancellor's prize for Greek in 1850, also the composition prize in the same year, as well as honours in classics and mathematics. He left the university in 1851.<ref name=Mennell>{{cite Australasia|Foster, Hon. William John}}</ref>
Foster arrived in Sydney in August 1854, and for the first three years of his residence in New South Wales devoted himself to agricultural pursuits. He then studied law, and was called to the colonial bar in 1858, when he entered on the practice of his profession.<ref name=Mennell/> In 1859 he published a work on the District Courts Act, which was the standard work on the subject until 1870, when a revised edition was issued. In 1877 be published a supplement to the same work. He acted as a Crown prosecutor from 1859 to 1862 and from 1864 to 1870, when he was appointed Crown Prosecutor for Sydney, in succession to Mr. Butler, who had accepted the Attorney-Generalship.<ref name=Mennell/>
In December 1877 Foster resigned as Crown Prosecutor, and became Attorney-General in the Farnell ministry, with a seat in the Legislative Council. Retiring with his colleagues in December 1878, he again took office in October 1881, being Minister of Justice in the Parkes Administration from that date till January 1883, when the Government resigned. He resigned from the Legislative Council in 1880 in order to successfully contest the seat of Newtown in the Legislative Assembly.<ref name=Mennell/> In 1882 he was defeated, but was re-elected in 1885.<ref name="William Foster NSW parl">{{Cite NSW Parliament |name=Mr William John Foster (1831-1909) |id=634 |former=Yes |access-date=10 November 2019}}</ref><ref name="Green Newtown">{{Cite NSW election |title=Elections for the District of Newtown |year=DistrictIndexes |district=Newtown |access-date=13 September 2019}}</ref> Foster was made Queen's Counsel in 1886,<ref>{{cite web |title=NSW silk appointments |url=https://nswbar.asn.au/the-bar-association/bar-history/nsw-senior-counsel-appointments |website=NSW Bar Association |access-date=2021-02-05 |archive-date=24 February 2021 |archive-url=https://web.archive.org/web/20210224215407/https://nswbar.asn.au/the-bar-association/bar-history/nsw-senior-counsel-appointments |url-status=live }}</ref> and in the following January he again took office as Attorney-General under Sir Henry Parkes, but resigned in May 1887, on the ground that his prior claim to the vacant Puisne Judgship had been slighted.<ref name=adb/> The following February he accepted appointment as a judge of the Supreme Court.<ref name=Mennell/> Foster married in 1854 Matilda Sophia, daughter of John Williams, of Landigige, Pembrokeshire. He on several occasions refused appointment as a judge of the District Court, and declined nomination to be the Speakers of the Assembly in 1887.<ref name=Mennell/>
Foster died in Valley Heights, New South Wales on {{death date and age|1909|8|16|1831|1|13|df=y}}.<ref name=adb/>
==References== {{Reflist}} {{s-start}} {{s-par|au-nsw}} {{s-off}} {{s-bef|before=William Dalley}} {{s-ttl|title=Attorney General | years=1877{{spaced ndash}}1878}} {{s-aft|after=William Windeyer}} {{s-bef|before=Sir Joseph Innes}} {{s-ttl|title=Minister of Justice | years=1881{{spaced ndash}}1883}} {{s-aft|after=Henry Cohen}} {{s-bef|before=Jack Want}} {{s-ttl|title=Attorney General | years=January{{spaced ndash}}May 1887}} {{s-aft|after=Bernhard Wise}} {{s-par|au-nsw-la}} {{s-bef|before=Stephen Brown}} {{s-ttl|title=Member for Newtown | years=1880{{spaced ndash}}1882 | with=Stephen Brown / Joseph Mitchell}} {{s-aft|after=Henry Copeland |after2=Frederick Gibbes}} {{s-bef|before=Frederick Gibbes |before2=Joseph Mitchell }} {{s-ttl|title=Member for Newtown | years=1885{{spaced ndash}}1888 |with=Frederick Gibbes |with2=James Smith / Nicholas Hawken}} {{s-aft|after=Joseph Mitchell}} {{s-end}}
{{authority control}}
{{DEFAULTSORT:Foster, William John}} Category:1831 births Category:1909 deaths Category:Judges of the Supreme Court of New South Wales Category:Attorneys general of the Colony of New South Wales Category:Members of the New South Wales Legislative Assembly Category:Members of the New South Wales Legislative Council Category:Colony of New South Wales judges Category:19th-century Australian politicians Category:19th-century Australian judges Category:Australian King's Counsel Category:Ministers for justice (New South Wales) Category:Colony of New South Wales politicians