The governor of Nigeria's Osun state has escaped what officials call an "assassination attempt" following an attack by armed people during an anti-police brutality protest in the capital, Osogbo.
After marching with the protesters, Governor Adegboyega Oyetola was addressing them when shots were fired.
Mr Oyetola was not hurt but some of his aides were wounded.
Nigeria has been rocked by more than two weeks of protests against the Sars police unit.
Its officers are accused of extortion, torture and murder.
The government has promised to disband Sars (Special Anti Robbery Squad) but this has not satisfied the protesters, who have now broadened their demands, calling for an end to decades of corruption and mismanagement in Africa's biggest oil producer, which has left many young Nigerians with bleak economic prospects.
Thousands of mostly young people have been taking to the streets of cities across the country every day.
The protests have also been backed by global celebrities such as Twitter founder Jack Dorsey, US rapper Kanye West, footballers Mesut Ozil and Marcus Rashford as well as Nigerian superstars Davido and Wizkid.
What happened in Osun?
A group of people armed with guns and machetes opened fire at the time Mr Oyetola was addressing the protesters in the Osun state capital Osogbo - after he had marched and sang with them.
The officials were hurriedly taken into their vehicles for safety.
Stones were also hurled at the official convoy as it left.
The governor's spokesperson told the BBC that the governor and his deputy survived the attack unhurt but some aides were wounded and a local journalist was in critical condition due to a serious head injury.

Officials say the attack was not carried out by the protesters but by thugs.
Similar attacks on the protesters have also happened in the capital, Abuja, and the country's biggest city, Lagos. It is not clear who is behind them.
Mr Oyetola is from the same party as President Muhammadu Buhari, the All Progressives Congress.
What do the protesters want now?
The hashtag #EndBadGovernance has now been shared by almost 1.8 million twitter users, while #BetterNigeria and #FixNigeriaNow are also being widely used.
I HAVE A DREAM, THAT ONE DAY, NIGERIA WILL BECOME GREAT AGAIN!
— Mr Soro Soke #EndSARS (@VickyShegzy) October 18, 2020
I've a dream today !!! #EndSARS #ENDBADGOVERNANCE #EndPoliceBrutalityinNigera pic.twitter.com/t5ec1nDrv3
They see us protesting, they call us jobless
— the kelechi † (@_igwilo) October 18, 2020
They see us making a life for ourselves, they call us lazy youths
They see us fighting for our rights, they call us weak and send us thugs
Nigerians are tired, we the youths are tired!#ENDBADGOVERNANCE
"As long as there is no positive change, we will be here," one man told the BBC at a protest in Abuja on Saturday.
"The leaders, the elders have failed us. We need to begin the process of building a new nation by coming out like this," he said.
An unprecedented challenge to Nigeria's leaders
The ongoing protests are clearly a strong message not only to the current government but to the entire political class in Nigeria.
The relentlessness of the young people is uncommon. Demonstrations like these rarely last for more than three days but these ones are now in their third week without any sign of a let-off. Instead, they appear to be gathering momentum.
As well as calling for an end to bad governance and poor economic conditions, some protesters are also beginning to demand more action from the government to tackle widespread insecurity in the north of the country, where armed criminal gangs carry out deadly attacks and kidnap people for ransom.
The government's response to some of the demands of the protesters has been unprecedented too.
It has pledged to disband Sars, set up of panels to investigate and prosecute erring police officers and promised wider police reforms.
Another rare gesture is the public apology by Vice-President Yemi Osinbajo, who admitted that the government had not acted fast enough to address young people's concerns.
But the protesters remain unsatisfied, saying they need more action.
It is obvious Nigerian officials are nervous about the ongoing protests and are deliberating how to handle them before they get out of hand.
Now that the demands of the protesters are widening and their chants begin to include anti-government slogans, there is speculation that some political opponents of President Muhammadu Buhari might be fuelling the protests from behind the scenes.
Latest Stories
-
Heartbreak can turn deadly — Choose wisdom over sentiment
3 minutes -
Explainer: Why petrol and diesel just got GH₵1 more expensive
14 minutes -
PETROSOL’s CEO represents employers on NDPC, SSNIT Board
15 minutes -
President Mahama justifies new petroleum levy as “difficult but necessary”
16 minutes -
Avoid budget blowouts – How Ghanaian businesses can keep cloud costs under control
21 minutes -
CIB Ghana champions ethical banking with inaugural national challenge
31 minutes -
From gags to glory: How Joy Prime’s “On A More Serious Note” became Ghana’s top comedy show
41 minutes -
Woman arrested for alleged acid attack on ex-boyfriend in Accra
51 minutes -
Bawumia slams NDC, says they’ve told a lie by introducing ‘dumsor levy’ after removing E-levy
1 hour -
Explainer | Can the restructured energy sector levy solve Ghana’s power crisis?
1 hour -
The case for Ghana’s new energy sector levy
1 hour -
Dr Matthew Opoku Prempeh confirms NIB interrogation over his tenure as Education Minister
1 hour -
Minority vows to resist rerun Ablekuma North, demands immediate conclusion of election results
1 hour -
Joyce Annor Yeboah appointed Deputy General Manager of Juventus Academy Ghana, SMAC SC, and SMAC Sports Center
1 hour -
Ghana Water Limited to prosecute over 800 illegal water users in Accra West
2 hours