Moses
Deuteronomy 25:7ESV·traditional attribution

And if the man does not wish to take his brother’s wife, then his brother’s wife shall go up to the gate to the elders and say, ‘My husband’s brother refuses to perpetuate his brother’s name in Israel; he will not perform the duty of a husband’s brother to me.’

Matthew Henry Presbyterian @wholebiblehenry

Here is, I. The law settled concerning the marrying of the brother's widow. It appears from the story of Judah's family that this had been an ancient usage (Gen 38:8), for the keeping up of distinct families. The case put is a case that often happens, of a man's dying without issue, it may be in the prime of his time, soon after his marriage...

Commenting on Deuteronomy 25:5-12

John Gill Reformed Baptist @doctorgill

And the man like not to take his brother's wife,.... The provision here made by this law, when this was the case, is such as did not take place before it became a law; for then Onan would have taken the advantage of it, and refused marrying his brother's wife, which it is plain was not agreeable to him, Gen 38:9; as many do now on one account or another.

Keil & Delitzsch Lutheran @keilanddelitzsch

Deu 25:5-10 On Levirate Marriages. - Deu 25:5, Deu 25:6. If brothers lived together, and one of them died childless, the wife of the deceased was not to be married outside (i.e., away from the family) to a strange man (one not belonging to her kindred); her brother-in-law was to come to her and take her for his wife, and perform the duty of a brother-in-law to her. יבּם, denom.

Commenting on Deuteronomy 25:5-10