Information:  - Robert John "Bob" Carr (born 28 September 1947) is a former politician from Australia. A member of the Labor Party, he served in the government of Australia as Minister for Foreign Affairs from March 2012 to September 2013, while also serving in the Australian Senate as a Senator for New South Wales. From 4 April 1995 to 3 August 2005, Carr was the Premier of New South Wales. He was the longest continuously serving Premier of the state (only Sir Henry Parkes served longer, although Parkes held the office on five separate occasions).  - Elections to the 51st Parliament of New South Wales were held on Saturday 25 March 1995 . All seats in the Legislative Assembly and half the seats in the Legislative Council were up for election . The minority Liberal Party of Australia - led Coalition government of Premier John Fahey was defeated by the Labor Party , led by Opposition Leader Bob Carr . Carr went on to become the longest continuously - serving premier in the state 's history , stepping down in 2005 . Fahey pursued a brief career as a Federal Government minister .  - Sydney is the state capital of New South Wales and the most populous city in Australia and Oceania. Located on Australia's east coast, the metropolis surrounds the world's largest natural harbour, and sprawls towards the Blue Mountains to the west. Residents of Sydney are known as "Sydneysiders". Sydney is the second official seat and second official residence of the Governor-General of Australia and the Prime Minister of Australia and many federal ministries maintain substantial presences in Sydney.  - New South Wales (abbreviated as NSW) is a state on the east coast of :Australia. It borders Queensland to the north, Victoria to the south, and South Australia to the west. It has a coast line with the Tasman Sea on its east side. The Australian Capital Territory is an enclave within the state. New South Wales' state capital is Sydney, which is also Australia's most populous city. , the estimated population of New South Wales was 7.5 million, making it Australia's most populous state. Just under two-thirds of the state's population, 4.67 million, live in the Greater Sydney area. Inhabitants of New South Wales are referred to as "New South Welshmen".  - The Premier of New South Wales is the head of government in the state of New South Wales, Australia. The Government of New South Wales follows the Westminster system, with a Parliament of New South Wales acting as the legislature. The Premier is appointed by the Governor of New South Wales, and by modern convention holds office by virtue of his or her ability to command the support of a majority of members of the lower house of Parliament, the Legislative Assembly.     Given the information, choose the subject and object entities that have the relation of 'office contested'.
A:
new south wales state election , premier of new south wales