Ending a sentence with a preposition: where the rule came from

Where the ban on ending a sentence with a preposition came from, what Dryden wrote in 1672, the Churchill myth, and what dictionaries and essays ask now.