 Complete the following phrase:  In 1793 as a consequence of the Second Partition of Poland the town became part of the Kingdom of Prussia. In 1807 it became part of the Polish Duchy of Warsaw, then in 1815 part of Congress Poland within the Russian Empire. In 1846 the section of the WarsawVienna railway that ran through the town opened, providing a railway connection to Warsaw. Inhabitants took part in the 