Andrzej Alojzy Koźmian — landowner, judge, official