A mandamus is a court case that you can file in federal court to force the USCIS, US embassy, Department of State of other federal organizations to perform their duty that they are legally bound to perform.