Henry Jones, the village postmaster, was elected in October 1830 to the 11th Parliament of the Province. Brockville became Ontario's first incorporated self-governing town on January 28, 1832, two years before the town of Toronto. By means of the Brockville Police Act passed by the Legislative Assembly of Upper Canada, Brockville was granted the right to govern its own affairs, pass laws, and raise taxes. The first elections for the new Board of Police were held on April 2, 1832, when four male citizens were elected to the Police Board. These four, in turn, chose a fifth member, Daniel Jones, who became the first Police Board President (or Mayor) of Brockville. In March 1836, he became the first native Upper Canadian to receive a knighthood for services to the Crown; from which point he was known as "Sir Daniel Jones". By 1846, the population was 2,111, and there were many buildings made of stone and brick. There was a County Court House and Jail, six churches or chapels, and a steamboat pier for travel to and from Montreal and Kingston. Two newspapers were published, there were two bank agencies and the post office received mail daily. Several court and government departments had offices here. The first industries consisted of one grist mill, four tanneries, two asheries and four wagon makers, in addition to tradesmen of various types. Later in the 19th century, the town developed as a local centre of industry, including shipbuilding, saddleries, tanneries, tinsmiths, a foundry, a brewery, and several hotels. By 1854, a patent medicine industry had sprung up in Brockville and in Morristown, New York, across the Saint Lawrence River, featuring such products as Dr Morse's Indian Root Pills, Dr. McKenzie's Worm Tablets, and later, Dr. Williams' Pink Pills for Pale People. In 1855, Brockville was chosen as a divisional point of the new Grand Trunk Railway between Montreal and Toronto. This contributed to its growth, as it could offer jobs in railway maintenance and related fields. At the same time, the north–south line of the Brockville and Ottawa Railway was built to join the timber trade of the Ottawa Valley with the Saint Lawrence River ship route. A well-engineered tunnel for this railway was dug and blasted underneath the middle of Brockville. The Brockville Tunnel was the first railway tunnel built in Canada. Brockville and many other towns in Canada West were targets of the threatened Fenian invasion after the American Civil War ended in 1865.