Inhibitors of protein phosphatase-1 (PP-1) and their use in a method for the treatment or prevention of viral infections caused by HIV or ebola virus are disclosed. Inhibitors of protein phosphatase-1 in effective amounts have been shown to slow down viral replication upon contacting ebola virus or cells containing the ebola virus.