Melanie Griffith and Antonio Banderas, back together again! Well, sort of.

The exes — who were previously married from 1996 until 2014 — both attended the Vanity Fair Oscars after party on the evening of Sunday, Feb. 28.

melanie griffith antonio banderas getty images

Melanie (left) and Antonio and Nicole (right) on Feb. 28.

At the star-studded event, Melanie, 58, wowed in a black gown accessorized with a pretty matching bolero jacket. A dapper-looking Antonio, 55 — clad in a classic black and white tux — posed on the red carpet with his much-younger girlfriend, Nicole Kimpel, 35, who wore a sheer, off-white, long-sleeved dress.

RELATED: Enter to Win A-Lister Gift Bag — Worth $20,000!

Melanie and Antonio — who tied the knot in May 1996 and have a daughter, Stella Banderas, 19, together — were married for 18 years before announcing their split in June 2014.

melanie griffith and antonio banderas

Melanie and Antonio in August 1995.

Melanie was previously hitched to Don Johnson — with whom she has a 26-year-old daughter, Dakota Johnson — for six months in 1976 and again from 1989 until 1996. She was also married to Steven Bauer from 1982 to 1987. They’re parents to a 30-year-old son, Alexander Bauer. Antonio was previously married to Ana Leza from 1987 until 1996.