It 's tricky.
The kind of cap and collar on the second photo is typical for Austria-Hungarian Empire. The medal looks like one of The Crown Jubilee Crosses of 1908.
First photo probably is a kind of civil service uniform.