Housing and Urban Development Secretary Ben Carson said Wednesday his Virginia home was recently vandalized with anti-Trump rhetoric.

Carson announced that his home had been damaged in a post on his Facebook page, encouraging people to "learn to be neighborly and to get to know each other" in the wake of the violence in Charlottesville, Va., on Saturday.

Carson said he and his wife were out of town when their house was vandalized by people who wrote "hateful rhetoric about President Trump," but said "other kind, embarrassed neighbors" cleaned up their house before they returned.

The HUD secretary, who ran against Trump for the Republican nomination during the 2016 presidential campaign, also detailed his experience with a neighbor after Carson and his wife, Candy, bought property in rural Maryland.

"Several years ago we bought a farm in rural Maryland. One of the neighbors immediately put up a Confederate flag. A friend of ours who is an African-American three-star general was coming to visit and immediately turned around concluding that he was in the wrong place," Carson said. "Interestingly, all the other neighbors immediately put up American flags shaming the other neighbor who took down the Confederate flag."

The neighbor, Carson said, subsequently became friendly with him and his wife.

In his Facebook post, the HUD secretary also praised his neighbors for their kindness and encouraged others to follow their leads.

"In both instances, less than kind behavior was met by people taking the high road," Carson wrote. "We could all learn from these examples. Hatred and bigotry unfortunately still exists in our country and we must all continue to fight it, but let's use the right tools."