Police arrested an 89-year-old suspected of wounding five people in two separate gun attacks in Athens on Tuesday, the Greek citizens' protection ministry said.
A man opened fire with a shotgun at a branch of Greece’s EFKA social security agency, wounding an employee in the leg, police said.
The gunman then travelled by taxi to a court building, where he fired several shots inside, lightly wounding four female court clerks, according to police, court officials and the judiciary employees' union.
The gunman left the shotgun at the scene, along with letters addressed to newspapers, and fled on foot, media reported.
During the arrest, a second weapon was found, local media reported. Media identified the suspect as a garbage collector from the Athens area.
Police have not commented on a possible motive.
The man was arrested in a hotel in Patras, some 200 km from Athens.

Putin says US-Russia contacts beneficial as talks begin with Witkoff and Kushner
Chinese national rescued from Nepal tunnel 10 days after flash flood
US envoys Witkoff, Kushner arrive in Moscow for talks on peace in Ukraine
One dead, 11 people missing after mudslide in China's Jiangxi province
Philippine VP Duterte posts bail after arrest order for alleged grave threats
Lindsay Clancy trial over killing her children ends in mistrial
Israel says it strikes southern Lebanon after Hezbollah drone launch
Sydney sweats in spring hot spell, faces 'extreme' bushfire risk
