"whom the L-rd your G-d shall choose": by word of a prophet.

"from the midst of your brothers": and not outside of Eretz Yisrael.

"shall you place over yourself a king": But is it not already written "Place shall you place over yourself a king"? Why, then, "shall you place over yourself a king"? That his awe be over you — whence it was ruled: One is not permitted to ride on his horse or to sit on his throne or to make use of his sceptre or to see him naked or when he is having his hair cut or when he is in the bathhouse. [Variantly: "from the midst of your brothers shall you place": All the "placings" that you "place" shall be only from the midst of your brothers — whence it was ruled: A leader is not appointed for the congregation unless his mother is an Israelite.]