In Maryland, a single agent is prohibited from representing both the buyer and seller in the transaction. However, if both agents have the same Supervising or Managing Broker, the broker is deemed a Dual Agent. In DC and Virginia, it is legal for one agent to act as a Dual Agent and represent both parties.