Terry Devlin’s first international goal gave Northern Ireland a 1-0 win over Ukraine at Windsor Park, leaving them needing only a draw in Hungary on Tuesday to reach Nations League A for the first time.

The Portsmouth player struck from distance in the 68th minute, restoring Michael O’Neill’s side to the top of Group B2 after Hungary had beaten Georgia earlier on Saturday. Northern Ireland are guaranteed a promotion play-off even if they lose in Budapest.

O’Neill praised Devlin’s versatility and application in comments reported by BBC Sport. “He’s a bit of a dream for a manager and he has the ability to contribute goals,” he said. The 23-year-old already has four goals for Portsmouth this season, according to Sky Sports.

Northern Ireland also needed Pierce Charles to protect their advantage. The goalkeeper produced a superb late save from Danylo Sikan to secure a fifth consecutive clean sheet. They remain the only side yet to concede in this Nations League campaign.

Tuesday’s task became harder when Jamie Donley and O’Neill collected bookings that trigger suspensions. Donley, who had an earlier finish ruled out for offside, will miss the decider; his manager must watch from the stands. An unbeaten defensive record has brought this young side within touching distance of promotion, but they must finish the job without their striker or their manager on the touchline.

Read Sky Sports’ match report and BBC Sport’s report for more.