In 1796 the monastery in Wigry was closed and the ground that it was on was taken by the Prussian government . In 1796 the monastery in Wigry was dissolved and its property confiscated by the Prussian government .