British astronaut Tim Peake is set to return from space on 18 June, having spending 186 days on board the International Space Station. Peake joined the ISS as part of Expedition 47 and arrived at the space station on 15 December last year. He will return to Earth with Nasa's Tim Kopra and Yuri Malenchenko, from Russian space agency Roscosmos.

To mark the end of his stint in space, IBTimes UK looks at some of his best moments from his time on board the ISS.

Spacewalk

Tim Peake: Watch astronaut become first Briton to perform spacewalkIBTimes UK

On 15 January, Peake became the first ever British astronaut to perform a spacewalk. He stepped outside the ISS Quest airlock with Kopra to replace the failed Solar Shunt Unit, a component that transfers electrical power generated by solar panels. While the astronauts were successful in the task, the spacewalk had to be cut short after Kopra reported a leak in his helmet.

Running a marathon in space

British astronaut Tim Peake prepares to run London Marathon from spaceIBTimes UK

Peake joined in the London Marathon from space on 24 April, running the 26 miles in three hours, 35 minutes and 21 seconds on a treadmill set up on the ISS. In completing the run, he became the first person to run a marathon in space. After the race, he said: "Watching the live marathon on the BBC the whole time was a huge encouragement ... it was extremely motivating watching the live coverage of the event and hearing the stories of some of the 33,000 people taking part."

Lightning storm

Tim Peake: British astronaut posts incredible time-lapse video of lightning storm over EarthIBTimes UK

In February, Peake posted an incredible time-lapse video of a lightning storm taking place over Earth. The 34-second clip showed the storm as the ISS was passing over North Africa towards Russia. "Amazing how much lightning can strike our planet in a short time," he said in the Twitter post.

How to... in space

Astronaut Tim Peake explains how to use the loo in spaceIBTimes UK

Over the course of his stay, Peake has enlightened the public about how to carry out several everyday activities in space. This includes going to the toilet, having a shower and making a cup of coffee. "Of course the answer to the big question everybody asks: how do you go to the loo in space? It really is quite simple, here's the tube you pee in, take the cap off, turn on the fan, the air flow keeps everything going down the pipe and also for number 2, the air flow does the same thing," he said.

Playing Space Invaders in space

Peake and Nasa astronaut Scott Kelly tested out an augmented reality project in an experiment designed to help astronauts work more efficiently. The clip of the pair showed them being attacked by aliens, with the astronauts having to fire cannons at them by squeezing their fingers together. "Sidekick creates a virtual-reality world on the International Space Station so we can 'drop' markers, procedures or documents in one location and they will still be there if we leave the module to return later. Ground control can come into our virtual world and we can use it for doing tasks together. The game was just a bit of fun," he said.