Drake is coming out on top in his lawsuit against the woman he says falsely claimed he got her pregnant, accused him of rape and tried to extort him … TMZ has learned.

Drake filed docs Friday alerting the court that he and Layla Lace have resolved their legal battle. According to the docs, obtained by TMZ, Layla has agreed she will not republish her April 17, 2017 Instagram post where she first made the pregnancy claim. She wrote, “So I guess still in this era this is the new thing that after you tell a dude you pregnant they stop answering they phone!!!”