Final answer:
The National Association of Realtors (NAR) and the U.S. Department of Housing and Urban Development (HUD) establish a code of ethics for real estate agents.
Step-by-step explanation:
The National Association of Realtors (NAR) is the main organization that establishes a code of ethics for real estate agents. The NAR is the largest trade organization in the United States for real estate professionals and it has its own Code of Ethics that agents must follow.
The U.S. Department of Housing and Urban Development (HUD) also plays a role in establishing ethical standards for real estate agents. HUD oversees the Fair Housing Act, which prohibits discrimination in the sale, rental, and financing of housing based on factors such as race, color, religion, sex, national origin, disability, and familial status.
Therefore, the correct answer is NAR and HUD.