A homeless man's Internet fame brought him a new friend and now, a place of his own.

In March, YouTube user Magic of Rahat, a prankster and do-gooder, approached a homeless man named Eric with a lottery ticket, which he told Eric was a winning ticket. Rahat had secretly set up a plan in which he gave a store clerk $1,000 to hold for Eric as the lottery "prize" for the ticket. When Rahat brought Eric to the store to collect his "winnings," it prompted an emotional response from the man who was down on his luck.

See also: Magic Trick for Homeless Man Will Warm Your Heart

The video spread online, collecting an impressive 15.8 million views in just two months. And it seems the Internet didn't want Eric's good fortune to stop there; people continued to raise $44,000 through a crowdfunding effort. Rahat used the money to rent a house for Eric, purchase supplies and open a savings account for his new friend (watch above).

Eric's reaction to his new home remains a precious reminder that sometimes the Internet is not such a scary place.

BONUS: Deliciously Creative Coffee Cup Art Supports Thousands of Homeless Kids