In the state of Maryland, there are two ways in which your license can be suspended as the result of a DUI offence. One is administrative and the other is judicial.
Administrative: When you fail a breathalyzer test at the scene (or refuse to take one), your license will be immediately suspended. In its place you will receive a temporary license, which will be good for a period of 45 days. During this 45-day period you can request a hearing to challenge your suspension in the initial ten days. If your challenge is unsuccessful, or you elect not to challenge, then your license will be suspended following the expiration of the temporary license.
Judicial: the courts may also suspend your license. This would be the result of a sentencing or a plea agreement that is reached with the prosecutor.
If you elect to install an ignition interlock device in your automobile during the period when the 45-day temporary license is valid, then you may be able to avoid a further suspension of your license. Also, you may be able to get a restricted license that allows you to drive for work, school, or other authorized purposes.
If your BAC was measured to be .15 or greater, then you will not be able to get a restricted license. Instead, you will have to install an ignition interlock device within your car within 30 days of your arrest. This device must then be kept active for a period of one year.