Psychiatry

A young lady was admitted after taking overdose of diazepam after broken affair. She has history of slitting her wrist previously. Most likely diagnosis is