Heart of Midlothian hit back to beat FC Infonet 2-1 at Tynecastle in their Europa League first-round qualifier on Thursday night.
The Estonian side took the lead after 20 minutes but Robbie Neilson's men equalised with a Prince Buaben penalty and an own goal before half-time handed them a narrow advantage.
The second leg goes ahead in Tallinn on Wednesday.