State law prohibits willfully intercepting or procuring any wire, oral, or electronic communication individually or through another person. The law further prohibits disclosing or using the communication that was obtained illegally. However, there are certain exceptions. For example, it is lawful for a person to intercept a communication when the person is a party to the communication and all of the parties to the communication have given prior consent to the interception. Violation of the statute constitutes a felony and is subject to a $10,000 fine, 5 years' imprisonment, or both (MD Code Cts. and Jud. Proc. Sec. 10-401 et seq.).