Wrexham edged Briton Ferry Llansawel 1-0 in the Genero Adran League promotion play-off in front of 1,507 at Newtown FC.
Victory in the meeting of North and South Division champions means Wrexham will make their debut in the Genero Adran Premier next season.
The decisive moment of a tight game came with 15 minutes to go, when Rebecca Pritchard turned a cross into the net.
A goal that will go down in Wrexham folklore 📕@WrexhamAFCWomen | #GeneroAdranLeagues
— Genero Adran Leagues (@AdranLeagues) April 16, 2023
Earlier at Latham Park, Cardiff City FC defeated Wrexham in the Genero Adran U-19 Championship Play-Off Final.
Lauren Payne’s second-half brace saw the Bluebirds retain the U-19 title.