Wikipedia (https://en.wikipedia.org/wiki/Maximum_entropy_probability_distribution#Distributions_with_measured_constants) describes in detail a theorem which gives the maximum entropy probability distributions subject to various constraints. They claim this theorem is originally due to Ludwig Boltzmann, but don't give a reference (instead they prove the theorem directly).
Does anyone know a reference to the original article/book/etc by Boltzmann where this theorem is first stated and proven?