Married, seeking sole custody of unborn child
My husband and I had been married almost a year when we found out we were pregnant. Things were rocky and I was already second-guessing my decision to say "I do". However, I'd always been told it'd be difficult for me to have children and was very excited to find out I was having a baby naturally. Now, almost five months into my pregnancy, I am leaving him, but am worried about custody of our unborn baby. I'm seeking sole physical custody with visitation for the father, and joint legal custody. I think he'll be a good dad, but his situation is unstable, and until he gets his stuff together, I don't want my baby with him more than a couple days a week.
What custody rights does he have, as my husband? We live in Maryland.