Jason, I live in the States so my knowledge here is very limited but I do have a Polish heritage and Google is a beautiful thing (except in China apparently but that's a different story). LOL
I've reviewed a few sites in Polish, English and German and basically I believe the term Sołtys (from the German term Schultheiß which in turn came from the Latin word Scultetus) would be equivalent to a mayor of a small village, parish or even small county here in the States. Since in a small village a mayor is responsible for numerous things, all the terms you've used "sheriff", "bailiff", "village headman" could be correct. You probably would also be able to call him an elder. Again, this is what my own extremely unscientific research have shown. (I also see others have posted now and their findings seem to correspond to mine).
Not familiar with the area you mentioned but I've looked up the German names for those towns and maybe that'll help you in your research (since he lived in Prussia, or a Prussian/German period in what today is Polish territory). He lived in Lulkowo (Lulkau), near Poznań (Posen), in Prusy (Preußen or Preussen) and near the city of Trzemeszno (Tremessen). (German version) Poznań (Posen) was the main city in that county.
Not sure if you speak Polish (I can read it but don't write very well). So I took the liberty of translate this Wikipedia article.
pl.wikipedia.org/wiki/Sołtys
(click for the original Polish version)
I'm certain that I've made many mistakes so I encourage others to correct my translation here. Terms in brackets [ ] are my own clarifications and notes.
Here's my Penglish translation... ;)
Sołtys (German Schultheiss, in the middle ages Latin Scultetus) - in the Middle Ages a person selected by the feudal lord in charge of a village based on the German law. Other versions of scholtis, szoltyz, elder in the medieval legal system is also a rural judge (Dorfschulze) and pioneer (settler), 1180 Schultetus, 1249 Sculte, 1259 Schultheiss, 1300 Schulcz, 1371 Scolcz. [different spelling versions] A sołtys could be a noble person, a citizen [townsman, business man], or a peasant. The rights of an Elder were:
- collecting rent
- chairing the rural court bench,
- when several fiefs [old acreage measurement unit] of land were received the sołtys could settle peasants there who would then become indebted laborers to him,
- was entitled to income from the landlord's share (1/6 rent and 1/3 of judicial penalties),
- had the right to hold shambles, mills, etc.
On the other hand, he was obligated to a horseback military service.
Social and economic status of mayors was relatively significant, they could even compete [in status] with the relatively [average] wealthy nobles. For this reason, the nobility prevailed in getting the king Jagiello to incorporate the Warckie Statutes [agreement] (1423), under which the nobility could redeem the village councils. Over time, from the 15th to the 17th Century the mayors [elders] became the village administrators and supervisors assisting the owners of the villages.
During the partition of Poland [I think this is the time frame which would apply to your relative], and during the interwar period [between WWI and WWII or 1918-1939] a Sołtys was the head-elder of the lowest unit of an administrative division - the "gromada" (~cluster, unit).
In the time frame of 1954 - 1972 the sołtys was the intermediary between the villagers and the Gromadzka national council, after 1973 between the local residents and the municipal council and the head of the peoples commune/municipality [remember that after 1945 the communism is forced upon Poland and many legal terms become "egalitarian sounding".]
Sołtysi [Elders] today
From 1990 and on a sołtys is the executive body of the ancillary unit of a rural community or urban-rural - sołectwa [parish/mayorship]. The legislative body is the villagers meeting which also via direct elections elects the mayor and the mayoral [administrative] council which supports the sołtys (mayor/elder]. Specific arrangements regarding the borders (there are mayoral regions which encompass more than one village), the regulations applicable to the mayor, etc. are governed by sołectwo [parish/mayorship] charter incorporated by the county [village] council seat. Mayors remuneration [compensation] is called dieta [not familiar with that term].
Competence [Obligations]
- represent the parish on the outside,
- convene and organize the parish meetings, and to this end distributes notices and ads regarding the meeting in a way which ensures the largest participation possible of the inhabitants of the parishes,
- implements the resolutions of the city council of parishes, as well as encourages the highest level of comprehension of the council's legislations among the citizens of the parish,
- in the time frame determined by the city council makes the collection of agriculture and forestry taxes as a collector of the tax authorities,
- attends the city council sessions and the legislative bodies without the right to vote,
- is obligated to take part in committee meetings whenever village council issues are being dealt with.
In the urban municipalities the equivalent term to a parish sołtys may be the council chairman of the borough [county] or district.
Sorry 'bout all the typos but I got too busy... :)
Here you can see
Lulkowo on the map. Change the scale to find Trzemeszno to the east and Poznań the southwest.
Your great-... grandfather lived only a few miles from Gniezno (to the west) - the very first Capital of Poland. In 1038 (thanks google ;) it was moved to Kraków and a few hundred years later to Warsaw.
https://www.google.com:443/maps?q=62-200+Lulkowo,+Gniezno+County,+Greater+Poland,+Poland&ie=UTF8&hl=en&cd=2&geocode=FYr0IQMd_j4OAQ&split=0&sll=37.0625,-95.677068&sspn=23.875,57.630033&hq&hnear=Lulkowo,+Gniezno+County,+Greater+Poland,+Poland&ll=52.556938,17.710846&spn=0.234615,0.617294&z=11